HTML Flashcards
Where do you put non-visible(meta) content in the html document?
In the head
Where do you put visible content in an html document?
In the body
Where do the head and body tags go?
Within the html tags
What’s the purpose of Doctype Declaration?
Tells the browser the version of html
What are 5 examples of html element tags?
html, head, body, title, p
What is the purpose of html attributes?
Provide additional information about the contents of an element
What’s an example of a html entity?
& amp;
How do block-level elements affect the document flow?
Will always start on a new line in browser window & take up entire width.
How do inline elements affect the document flow?
Will continue on the same line as neighboring elements
What are the default width & height of a block-level element?
width: 100%
height: auto
What are the default width & height of inline-level elements?
width: auto
height: auto
What’s the difference between ordered and unordered lists?
ordered: each item in list is numbered
unordered: each item in list is bulleted
Is an html list a block element or inline?
block-level element
What html tag is used to link to another website?
a
What is an absolute URL?
full web address for a site