Quiz Cards Flashcards
Give five examples of HTML element tags.
<p> <img></img></p>
What is the purpose of HTML attributes?
To add information about how the browser should interact with the element.
Give an example of an HTML entity (escape character).
©
Where do you put non-visible content about the HTML document?
””
Where do you put visible content about the HTML document?
””
Where do the and tags go in a valid HTML document?
Inside the tags
What is the purpose of a declaration?
So the browser knows how to load the document.
How do block-level elements affect the document flow?
Block-level elements take up the full horizontal space available and start on a new vertical line.
How do inline elements affect the document flow?
Inline-level elements take up only the space that the content requires.
What are the default width and height of a block-level element?
The default width of a block element is the horizontal size of the viewport and the default height is the height of the content.
What are the default width and height of an inline element?
The default width and height of inline elements are the height and width of the content itself.
What is the difference between an ordered list and an unordered list in HTML?
An ordered list is numbered in some way and an unordered list is not.
Is an HTML list a block element or an inline element?
An HTML list is a block element and the list items are list-item display type.
What HTML tag is used to link to another website?
<a></a>
What is an absolute URL?
An absolute URL links directly to a place on the internet.