HTML Flashcards
What was the purpose of HTLM in the past and what’s now?
In the past it was used as research documents, linking documents, reports, pictures and graphs;
Now it enables applications, fully featured.
What is the most common client for HTML?
Browsers.
What the difference between URI and URL?
URIs identify and URLs locate; however, locators are also identifiers, so every URL is also a URI, but there are URIs which are not URLs.
e.g: your name is your URI and your address is your URL.
What does the HTML element do?
Is the root of the document.
What does the HEAD element do?
Hold document metadata. Including title.
Where can the HTML be validated?
validator.w3.org
What’s traverse?
To move or travel in an area.
What’s a HREF?
It’s a reference to another document via some URI/URL.
What are the common child elements of HEAD?
key information used to index the pages - not so used nowadays once google and bing optmize their searches via actual page content.
import external scripts
import styles.. via files or inline
<link></link>
link to resources
<base></base>
define a base address (relative paths)
What’s the most common main page name of a website?
index.html
What is a ! mark in the html?
An instruction for the browser. e.g doctype and comment
What are common attributes?
Name, rel and class
What are the main child elements of BODY?
Text --- duh Lists Links Tables Images
Can ID and name attributes repeat?
No, they need to be unique. Id is document-wide unique and name need to be element-specific.
How many headings exists? (Hn)
- The number one should appear only once.