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 body and head tags go in a valid HTML document?
html
What is the purpose of a declaration?
Specify the document is rendered in HTML
Give five examples of HTML element tags.
html, body, div, h1, p1
What is the purpose of HTML attributes?
To configure the elements
Give an example of an HTML entity (escape character).
®
How do block-level elements affect the document flow?
Block elements take up a the full width of the doc.
How do inline elements affect the document flow?
An inline element take up only as much width as it needs. Inline elements can appear on the same line.
What are the default width and height of a block-level element?
width: 100%
height: auto
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?
An ordered list is numbered. An unordered list uses plain bullets.
Is an HTML list a block element or an inline element?
block
What HTML tag is used to link to another website?
«a>a</a>>
What is an absolute URL?
A url of a website