HTML Flashcards
Where do you put non-visible content about the HTML document?
head
Where do you put visible content about the HTML document?
body
Where do the head and body tags go in a valid HTML document?
between html opening and closing tag
Where do the and tags go in a valid HTML document?
bettween
What is the purpose of doc type a declaration?
To inform the browser which version of the html is being used
Give five examples of HTML element tags.
h1 h2 h3 p img
What is the purpose of HTML attributes?
It provides additional information about the content of an element
Give an example of an HTML entity (escape character).
©
How do block-level elements affect the document flow?
They take the entire space of the browser
How do inline elements affect the document flow?
They take as much space as need in order to fit the element
What are the default width and height of a block-level element?
It takes the full width of the pages, as for the height depends on the size of the content
What is the difference between an ordered list and an unordered list in HTML?
Ordered list includes a numbered formatting, while unordered does not include numbers
What is the difference between an ordered list and an unordered list in HTML?
Ordered list inlcudes a numbered formatting, while unordered does not include numbers
Is an HTML list a block element or an inline element?
block
What HTML tag is used to link to another website?
Anchor tag