logo

Very Short Question and Answers - Introduction to HTML


Q 1.
What does HTML stand for?

Ans:

HTML stands for HyperText Markup Language.

Q 2.
Is HTML a programming language?

Ans:

No, HTML is not a programming language; it is a markup language.

Q 3.
Who invented HTML and in which year?

Ans:

HTML was invented by Tim Berners-Lee in 1991.

Q 4.
What is the main purpose of HTML?

Ans:

HTML is used to create web pages and tell the browser what to display on the screen.

Q 5.
What are HTML tags used for?

Ans:

HTML tags are used to 'mark up' or define different parts of the web page content.

Q 6.
Give an example of a basic HTML tag and its function.

Ans:

The <p> tag is used to define a paragraph. For example: <p>Hello, World!</p> displays a paragraph.

Q 7.
What was the first official standard version of HTML called and when was it released?

Ans:

HTML 2.0 was the first official standard, released in 1995.

Q 8.
What new features did HTML 3.2 introduce?

Ans:

HTML 3.2 introduced support for tables, applets, and images.

Q 9.
Which HTML version introduced stylesheets (CSS)?

Ans:

HTML 4.01 introduced stylesheets (CSS).

Q 10.
What is XHTML?

Ans:

XHTML is a stricter version of HTML introduced in the 2000s.

Q 11.
What is the latest major version of HTML and when was it released?

Ans:

The latest major version is HTML5, released in 2014.

Q 12.
Name a new feature HTML5 introduced.

Ans:

HTML5 introduced features like audio, video, canvas, and offline storage.

Q 13.
What does HTML do with text content?

Ans:

HTML displays text as headings, paragraphs, lists, and quotes.

Q 14.
Which tag is used in HTML to create a link to another web page?

Ans:

The <a> tag is used to create links to other web pages.

Q 15.
How can HTML organize data in rows and columns?

Ans:

HTML uses tables to organize data in rows and columns.

Q 16.
What is the role of forms in HTML?

Ans:

Forms in HTML collect user input, such as in login forms or search boxes.

Q 17.
Name two semantic tags introduced in HTML.

Ans:

Two examples of semantic tags are <header> and <footer>.

Q 18.
Can HTML add styles and interactivity on its own?

Ans:

No, HTML provides structure; styles are added by CSS and interactivity by JavaScript.

Q 19.
What does CSS stand for and what is its role?

Ans:

CSS stands for Cascading Style Sheets; it adds design and style to HTML pages.

Q 20.
Summarize the main roles of HTML, CSS, and JavaScript in web development.

Ans:

HTML provides the structure, CSS adds the look, and JavaScript adds behavior and interactivity.