1️⃣ What is HTML?
Answer: HTML (HyperText Markup Language) is the standard language used to structure content on the web. It defines elements like headings, paragraphs, links, images, and forms using tags.
2️⃣ What are semantic tags in HTML?
Answer: Semantic tags clearly describe their meaning in the context of the page. Examples:
-
<article> – for self-contained content-
<section> – for grouped content-
<nav> – for navigation linksThey improve accessibility and SEO.
3️⃣ What are forms and input types in HTML?
Answer: Forms collect user input. Common input types include:
-
text, email, password, checkbox, radio, submitExample:
<form>
<input type="email" placeholder="Enter your email" />
</form>
4️⃣ What are key features of HTML5?
Answer:
- New semantic tags (
<header>, <footer>, <main>)- Native audio/video support (
<audio>, <video>)- Local storage & session storage
- Canvas for graphics
- Geolocation API
5️⃣ How do you create an SEO-friendly HTML structure?
Answer:
- Use semantic tags
- Include proper heading hierarchy (
<h1> to <h6>)- Add
alt attributes to images- Use descriptive titles and meta tags
- Ensure fast loading and mobile responsiveness
💬 Double Tap ❤️ For More