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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

(html)

A
  • the container or document root for the HTML document
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

(head)

A
  • the head of the document is a container for meta information about the HTML document itself
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

(body)

A
  • the body of the document contains the content and remaining structure of the document
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

(title)

A
  • the title of the document typically appears in browser tabs and search engine results
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

(meta charset=”utf-8”)

A
  • the character set, typically set to UTF-8 to help describe how the page is formatted
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

(section)

A
  • sections break up logical groupings of information, just like sections of a newspaper
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

(footer)

A
  • the footer element is a complement to the header element. It represents the bottom of a content area
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

(h2)

A
  • the second level headline element, similar to first level headlines
  • typically these appear slightly smaller by default
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

(p)

A
  • the paragraph element should contain text in sentence or paragraph form
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

(a)

A
  • the anchor element allows for two HTML pages to be linked together
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

(nav)

A
  • the navigation element is a semantic element that wraps any type of site navigation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

(ul)

A
  • the unordered list element contains list item elements and is typically styled with bullet points by default
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

(img)

A
  • the image element is a self closing element with two required attributes
  • the source (src) attribute points to the image file and the alternate (alt) attribute describes the image using text
17
Q

(link)

A
  • the link element connects other files to an HTML document, such as CSS or JavaScript files