HTML Flashcards

0
Q

Whats the first line that goes in any HTML5 document?

A

<!DOCTYPE html>

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

What does HTML stand for?

A

Hypertext Markup Language.

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

What HTML statement starts and ends and HTML document?

A

and

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

What is the open and close statement for the head of an HTML document and what information does it hold?

A

and …the information it holds is the title, metadata, etc.

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

what is the open and close html statement for the webpage title?

A

and

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

what html statement begins and ends the body of the document?

A

and

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

What is the html commands for placing links into a web document?

A

<a> [text description of link] </a>

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

What is the html statement for placing images into an html document?

A

<img></img>

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

What is an ordered list?

A

An ordered list is a list that is numbered.

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

What are the opening and closing tags for an html ordered list?

A

<ol> and </ol>

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

What is the opening and closing tag for individual items within an ordered list?

A

<li> and </li>

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

What is an unordered list in html?

A

An unordered list is a bullet point list.

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

What are the opening and closing tags for an unordered list?

A

<ul> and </ul>

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

What is the opening and closing tag for individual items within an unordered list?

A

<li> and </li>

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

How would you create a nested unordered list in an ordered list? Use tags only.

A
<ol>
<li>
<ul>
<li></li>
</ul>
</li>
</ol>
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How do you make comments in an html document?

A

<!-- [comment]-->

16
Q

What is a tag attribute?

A

Tag attributes are simply added characteristics to the content of the element.

17
Q

What is the open and close html tag for bold?

A

<strong></strong>

18
Q

What is the open and close html tag for making text italic?

A

<em></em> ….em is for emphasis

19
Q

What is the opening and closing html tag for creating tables?

A

<!-- <table></table> -->

20
Q

What is a table?

A

A table is just a bunch of information arranged in rows and columns.

21
Q

What html tag is used to create a table row?

A

tr and /tr

22
Q

How do you create columns in an html table?

A

There is no tag for creating columns. You tell each row how many cells to have, and that determines the number of columns.

23
Q

What is the opening and closing html tag for table data?

A

td and /td

24
Q

Give an example for a two column, three row table with a 1px border.

A

Item 1item 2
Item threeItem four
Item fiveItem Six

25
Q

What are the tags for table head and table body?

A

the thead> tag can be thought of as containing information about a table and the tbody> tag containing the actual tabular data.

26
Q

What are the tags for making a table head name column headings?

A

th and /th

27
Q

Get an example of a table head column heading

A

table
thead
tr
th>Heading 1Heading 2</thead

28
Q

What is the tag for creating a table title?

A

3 columns across for table heading/title!</thead

29
Q

What is the tag for styling pieces of your site individually?

A

div> allows you to divide your page into containers (that is, different pieces).

30
Q

Give three attributes that you can give to a div tag?

A

width, height, background-color

31
Q

Name two or three visual HTML objects you can create with divs

A

sidebars, menus, widgets

32
Q

what html tag do you use to make divs clickable?

A

<a></a>

33
Q

What does the span tag do?

A

While div> allows you to divide your webpage up into pieces you can style individually, span> allows you to control styling for smaller parts of your page, such as text. For example, if you always want the first word of your paragraphs to be red, you can wrap each first word in span></span tags and make them red using CSS!

34
Q

Name at least three other attributes you can change with the span tag..

A

Color is just one attribute you can selectively change with span> tags; you can also change font size, font family, and any other style attribute you can think of!