HTML Skeleton (boilerplate) Flashcards

1
Q

What indicates we are using html 5

A

<!DOCTYPE html>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is at the very top of the page

A

<!DOCTYPE html>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the html element

A

Root element, the entire top level element of our document. Every other element should be a descendant of this element.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is another name for html element

A

Root element

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Does the <!DOCTYPE HTML> flag have a closing tag

A

No, there is no <!DOCTYPE html </html>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What should go inside of the root element aka html element <html></html>

A

All information on the site except the DOCTYPE goes inside

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What comes after the root element aka html

A

Head element and body eleme t

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the head element

A

The document metadata element

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Does the info in the head element show up on the page

A

No

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is meta data

A

Info about web page, scripts were loading, CSS style sheets

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the title element

A

Defines the title of our document

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What does the title element do

A

It shows what we see in our browser

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Where does the title element live

A

In the head element

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How does google use the title element

A

They create a hyperlink based on the title element

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are the two elements that go inside the html element

A
  1. Head and 1. Body
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What does the body element in the html element do?

A

The body represents all of the content of our document.

17
Q

How many body elements should we have

A

Only one

18
Q

What is the basic html document structure

A

<!DOCTYPE html>

<html> (beginning html element)
<head> open head element
<title></title>
<head></head> closing head element
<body> where all content is
Content
</body> closing body element
<\html> closing html element
</head></html>

19
Q

What is an attribute for an anchor tag

A

Attributes in html are pieces of info we can add to a tag, not in between an opening and closing but inside the tag where you would put the content

20
Q

What is the attribute href

A

This is the attribute used every-time for an anchor tag

21
Q

What is the set up for an anchor tech with href

A

<a href=“”>
The href is inside the first a tag

22
Q

What is an anchor tag and how is it set up

A

Anchor tags let you link to some website or location on your network. <a href=xyzthing.com></a>

23
Q

How is an image tag different

A

There is no closing tag on an image tag

24
Q

What is html made up of?

A

Elements

25
Q

What are html elements?

A

The basic building blocks of html. They give meaning to content and help organize it. It is an object on a page(such as heading, paragraph, or image)

26
Q

What is the element syntax?

A

Written inside of angle brackets, most come in open and closing tags

27
Q

How can you customize your elements?

A

By adding attributes in the opening tag

28
Q

What are attributes?

A

Qualities that describe that element such as width and height.

29
Q

Describe a tag

A

Tags are comprised of elements and attributes. Tags usually travel in pairs. The brackets kind of make up the tag.

30
Q

Where should attributes be added that describe an element

A

In the opening tag

31
Q

What is the DOM

A

Document object model is the hierarchical structure of the HtML file

32
Q

What is an attribute

A

Little pieces of info we can pass into a tag, not between a tag but a tag but in the opening tag