HTML Flashcards
Where do you put non-visible content about the html document?
In the head element
Where do you but visible content about the HTML document?
In the body element
where do the <head> and <body> tags go in a valid HTML document?
Inside the <html> tag one above the other
What is the purpose of a <!DOCTYPE html> declaration?
To tell server which version of HTML it’s using
What is the purpose of HTML attributes?
To provide more information about the contents of the element
How do block-level elements affect the document flow?
Tend to take up all the space
How do inline elements affect the document flow?
They dont
What are the default width and height of a block level element?
The space of its container
What are the default width and height of an inline element?
The space bounded by defining the element
What is the difference of an ordered list and an unordered list?
Ordered list is number
Unordered is bulleted
Is an HTML list a block or inline element?
Block
What HTML tag is used to link another website?
Anker tag <a></a>
What is an absolute URL?
Take you to the website no matter what
What is a relative URL?
Urls that only includes the path
How do you indicate the relative link to a parent directory?
../