HTML basics Flashcards

1
Q

What is HTML

A

HTML stands for Hyper Text Markup Language
HTML is the standard markup language for creating Web pages
HTML describes the structure of a Web page
HTML consists of a series of elements
HTML elements tell the browser how to display the content
HTML elements label pieces of content such as “this is a heading”, “this is a paragraph”, “this is a link”, etc.

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

<!Document html>

A

The <!DOCTYPE html> declaration defines that this document is an HTML5 document

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

<html>
</html>

A

The <html> element is the root element of an HTML page

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

<title>
</title>

A

The <title> element specifies a title for the HTML page (which is shown in the browser's title bar or in the page's tab)</title>

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

<head>
</head>

A

The <head> element contains meta information about the HTML page

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

<body>
</body>

A

The <body> element defines the document’s body, and is a container for all the visible contents, such as headings, paragraphs, images, hyperlinks, tables, lists, etc.

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

<h1>
</h1>

A

The <h1> element defines a large heading

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

<p>
</p>

A

The <p> element defines a paragraph

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

History

A

1989 Tim Berners-Lee invented www
1991 Tim Berners-Lee invented HTML

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

To save

A

.htm

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

Headings Level

A

till h6

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

<a></a>

A

HTML links are defined with the <a> tag
eg: <a>This is a link</a></a>

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

<img></img>

A

HTML images are defined with the <img></img> tag.

The source file (src), alternative text (alt), width, and height are provided as attributes

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