Simple Website - Elements Flashcards
1
Q
(!DOCTYPE html)
A
- the document type element tells the browser what kind of content to expect in a web page
2
Q
(html)
A
- the container or document root for the HTML document
3
Q
(head)
A
- the head of the document is a container for meta information about the HTML document itself
4
Q
(body)
A
- the body of the document contains the content and remaining structure of the document
5
Q
(title)
A
- the title of the document typically appears in browser tabs and search engine results
6
Q
(meta charset=”utf-8”)
A
- the character set, typically set to UTF-8 to help describe how the page is formatted
7
Q
(header)
A
- the header element helps to structure the content. This is different from the head element, which is just for document metadata
8
Q
(section)
A
- sections break up logical groupings of information, just like sections of a newspaper
9
Q
(footer)
A
- the footer element is a complement to the header element. It represents the bottom of a content area
10
Q
(h2)
A
- the second level headline element, similar to first level headlines
- typically these appear slightly smaller by default
11
Q
(p)
A
- the paragraph element should contain text in sentence or paragraph form
12
Q
(a)
A
- the anchor element allows for two HTML pages to be linked together
13
Q
(nav)
A
- the navigation element is a semantic element that wraps any type of site navigation
14
Q
(ul)
A
- the unordered list element contains list item elements and is typically styled with bullet points by default
15
Q
(li)
A
- the list item element makes it possible to format text in a list form
- each list item element should go inside of an ordered or unordered list element