LFZ 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 head and body tags go in a valid HTML document?
html
What is the purpose of a declaration?
HTML Version
Give five examples of HTML element tags.
h1, h2, div, p, span
What is the purpose of HTML attributes?
give additional characteristics to elements
Give an example of an HTML entity (escape character).
&
How do block-level elements affect the document flow?
they create new space and move vertically
How do inline elements affect the document flow?
they span horizontally inside blocks
What are the default width and height of a block-level element?
the width of page and height of contents
What are the default width and height of an inline element?
width of parent and height of contents
What is the difference between an ordered list and an unordered list in HTML?
One has numbers the other has dots
Is an HTML list a block element or an inline element?
block element
What HTML tag is used to link to another website?
a - anchor
What is an absolute URL?
from base directory