HTML Basics Flashcards

1
Q

HTML meaning

A

HyperText Markup Language

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

Opening tag

A

Starts with only two arrows: <p>

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

Closing tag

A

End with two arrows and a slash: </p>

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

Body

A

Body of the code: <body> and </body>

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

Division

A

Short for division (div)
Divides the page into sections
Useful for grouping elements in your HTML: <div> </div>

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

Headings

A

<h1>:main heading
<h2>:second heading
<h3>,<h4>,<h5>,<h6>: All the same size headings
</h6></h5></h4></h3></h2></h1>

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

Attributes

A

Content is added to the opening tag of an element and can be used in several different ways, from providing information to changing styling. Made up of the following 2 parts: Name and Value.
ID: added between <div.....> Example: <div id="intro"></div.....>

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

Displaying Text

A

<p> and </p>

<span> and </span>

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

Styling Text

A

<em> and </em>: Italic <strong> and </strong>: Bold

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

Line Break

A

Causes a line break. <br></br>, you do not need to use a slash for this

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

Unordered List

A

<ul>: to create a list of items in no particular order. An unordered list outlines individual list items with a bullet point. The <li> or list item tag is used to describe an item in a list.
</li></ul>

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

Ordered List

A

Ordered lists (<ol>) are like unordered lists, except that each list item is numbered. They are useful when you need to list different steps in a process or rank items for first to last.
You can create the ordered list with the <ol> tag and then add individual list items to the list using <li> tags.

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

Images

A

<img></img>

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

Image Alts

A

The alt attribute, which means alternative text, brings meaning to the images on our sites. The alt attribute can be added to the image tag just like the src attribute. The value of alt should be a description of the image.
Example: <img></img>

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

Videos

A

<video>
Video not supported
</video>

Another Example:
video src=”https://content.codecademy.com/courses/freelance-1/unit-1/lesson-2/htmlcss1-vid_brown-bear.mp4” width=”320” height=”240” controls>
Video not supported
</video>

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