JavaScript
JavaScript
June 2, 2025 at 01:04 PM
*HTML interview questions for freshers:* *1. What is HTML?* HTML (HyperText Markup Language) is the standard language used to create and structure content on the web. It defines the layout of web pages using elements like headings, paragraphs, images, links, and more. *2. What is the basic structure of an HTML document?* Page Title

This is a heading

This is a paragraph.

– defines the document type. – root of the HTML document. – contains metadata and the page title. – contains the content displayed on the page. *3. What is the difference between
and ?*
is a block-level element used for grouping larger chunks of content. is an inline element used for styling or scripting small portions within text. Example:
This is a block element

This is a highlighted word.

*4. What are semantic HTML tags?* Semantic tags clearly describe their meaning in a human- and machine-readable way. Examples include:
,
,
,
,
❤️ 👍 🙏 🇮🇳 😮 😂 😢 🐋 327

Comments