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 < body > and < head > tags go in a valid HTML document?
html element
What is the purpose of a declaration?
instruction to the web browser about what version of HTML the page is written in
Give five examples of HTML element tags.
html,head,body,h1,p
What is the purpose of HTML attributes?
provide additional information about HTML elements
Give an example of an HTML entity (escape character)
& / ®
How do block-level elements affect the document flow?
occupies the entire horizontal space of its parent element (container), and vertical space equal to the height of its contents,
How do inline elements affect the document flow?
only occupy the space bounded by the tags defining the element
What are the default width and height of a block-level element?
100%
What is the difference between an ordered list and an unordered list in HTML?
orders = numbers unordered = 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?
a tag
What is an Absolute URL?
on a complete diff website.
What is a Relative URL?
will not change into new domain. opens internally