What is HTML?
Question
What is HTML?
Answer
HTML stands for HyperText Markup Language. It is the standard markup language
used to create and structure content on the web. HTML defines elements such as headings,
paragraphs, images, links, tables, and forms using tags.
HTML works together with CSS for styling and JavaScript
for interactivity.
Example
<!DOCTYPE html>
<html>
<head>
<title>My First HTML Page</title>
</head>
<body>
<h1>Hello World</h1>
<p>This is a paragraph.</p>
</body>
</html>
Key Points
- HTML is not a programming language.
- HTML uses tags to define elements.
- HTML provides structure to web pages.
- HTML works alongside CSS and JavaScript.
Follow-up Interview Questions
- What are HTML elements?
- What are semantic HTML tags?
- What is the difference between HTML and HTML5?