M2- What is HTML? Flashcards

MODULE 2

1
Q

Who invented HTML and why?

A

HTML was invented by Sir Tim Berners-Lee, a physicist. He developed it to help him and his colleagues from around the world share information easily.

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

What does HTML stand for, and what do its components mean?

A

HTML stands for Hypertext Markup Language. “Hypertext” refers to text containing links to other texts, and “Markup” refers to the tags and elements used within a document.

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

What is an HTML file, and what suffix does it usually have?

A

An HTML file is a text file with a specific structure, consisting of elements and tags. It usually has a .html suffix.

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

What is typically the name of the first HTML file that is returned to a browser when visiting a website?

A

The first HTML file is often called index.html.

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

What are HTML tags and elements?

A

An HTML element consists of an opening tag, content, and often a closing tag. Tags are enclosed in angle brackets (< >), with the opening tag starting the element and the closing tag ending it.

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

What does it mean that HTML elements can be nested?

A

It means that one HTML element can contain another element inside it.

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

What are self-closing or empty elements in HTML? Can you provide an example?

A

Self-closing or empty elements are those that do not need a closing tag. An example is the line break tag.

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

Who maintains the HTML specification, and what is it called?

A

The HTML specification is maintained by the World Wide Web Consortium (W3C).

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

What happens when the HTML specification changes?

A

When the specification changes, a new version of HTML is standardized. The current version is HTML5.

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

What role does HTML play in web development?

A

HTML builds the structure of a web page and describes to the web browser what content to display.

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