HTML Flashcards
non-visible content?
settings on the website, meta content, etc. ALL in <header>
visible content?
<p>, <h1>, <img></img> etc. All in <body>
</body></h1></p>
<!DOCTYPE>?
define this is a html 5 file
basic HTML-skeleton include?
<!DOCTYPE>
<head> </head>
<body> </body>
what is the element <title> does?</title>
define the name of the website shows on the tab
What is the purpose of HTML attributes?
Give each element different settings
HTML entity for >, < ?
>: <:
HTML entity for © ®?
© ®
How do block-level elements affect the document flow?
It’s gonna take entire row
How do inline elements affect the document flow?
It Just gonna effects its own part in line.
What are the default width and height of a block-level element?
height is zero varies on the content. default width is fitting on computer screen size.
Difference betwween (<ul> and <ol>?
<ul> doesn't care order.
<ol> will set numbers to the item.
</ol></ul>
What HTML tag is used to link to another website?
<a>xxxx</a>
absolute URL?
start from the root. use /xxx/xxx
relative URL?
start from the current location to another. all the webpage are require in one branch. To use, ../../ every ../ is jump to the parent folder.