HTML Flashcards
Where do you put non-visible content about the HTML document?
Within the ‘head’ section - aka. meta data
Where do you put visible content about the HTML document?
Within the ‘body’ section
Where do the head and body tags go in a valid HTML document?
Head tags go after the opening html tag, before the body tag. Body tags go before the closing HTML tag.
What is the purpose of a declaration?
To tell the browser which version of HTML the page is using.
Give five examples of HTML element tags
P, h1, h2, img, body
What is the purpose of HTML attributes?
To provide additional information about the contents of an element.
Give an example of an HTML entity (escape character).
® (registered trademark)
How do block-level elements affect the document flow?
Fixed size. Elements will appear to start on a new line
How do inline elements affect the document flow?
Elements will appear to continue on the same line. Takes up space as needs
What are the default width and height of a block-level element?
Width 100% height is auto
What are the default width and height of an inline element?
Width and height are auto
What is the difference between an ordered list and an unordered list in HTML?
Ordered lists are lists numbered and unordered are with bullet points
Is an HTML list a block element or an inline element?
Block element
What HTML tag is used to link to another website?
The anchor tag
What is an absolute URL?
The full website address that includes the domain name