HTML Flashcards
Where do you put non-visible content about the HTML document?
In the head
Where do you put visible content about the HTML document?
In the body
Where do the and tags go in a valid HTML document?
Head goes after opening html tag and Body goes after closing head tag.
What is the purpose of a declaration?
To let the browser know which version of HTML is being used.
Give five examples of HTML element tags.
H1, P, Span, Div, Body
What is the purpose of HTML attributes?
To give additional information about the contents of an element.
Give an example of an HTML entity (escape character).
©
How do block-level elements affect the document flow?
Block level elements occupy the entire horizontal space of its parent element.
How do inline elements affect the document flow?
The only occupy the space bounded by the tags containing the element, not breaking the document flow.
What are the default width and height of a block-level element?
Width 100% of its parent element and height is auto (height containing the content)
What are the default width and height of an inline element?
Width auto Height auto
What is the difference between an ordered list and an unordered list in HTML?
Ordered list is numbered and unordered list has bullet points.
Is an HTML list a block element or an inline element?
Block
What HTML tag is used to link to another website?
anchor tag
What is an absolute URL?
A full web adress.