HTML Flashcards
Where do you put non-visible content about the HTML document?
head element
Where do you put visible content about the HTML document?
body element
Where do the head and body tags go in a valid HTML document?
within html element, head first then body
What is the purpose of a declaration?
declare the version of html
Give five examples of HTML element types.
body, head, html, img, a, p, div, span, h1-h6
What is the purpose of HTML attributes?
An attribute either modifies the default functionality of an element type or provides functionality to certain element types unable to function correctly without them.
Give an example of an HTML entity (escape character).
© COPYRIGHT SIGN
® REGISTERED SIGN
€ EURO SIGN
™ TRADEMARK
How do block-level elements affect the document flow?
takes up the width of the page
How do inline elements affect the document flow?
the are placed within texts or elements
What are the default width and height of a block-level element?
width of the page and as much height as it needs
What are the default width and height of an inline element?
it is the height and width of the content
What is the difference between an ordered list and an unordered list in HTML?
ordered will have numbers to indicate an order and unordered are just dots
Is an HTML list a block element or an inline element?
block
What HTML tag is used to link to another website?
a or anchor
What is an absolute URL?
An absolute URL is a ‘full’ URL or one that contains the entire address of the page