๐งฑ HTML (Structure of Websites) ๐
๐ HTML = skeleton of every website
๐ง What is HTML?
๐ HTML refers to HyperText Markup Language
โข Used to structure content
โข Not a programming language โ
It tells browser:
โข What is heading
โข What is paragraph
โข What is image
๐ Basic HTML Structure (Must Know)
<!DOCTYPE html>
<html>
<head>
<title>My First Page</title>
</head>
<body>
<h1>Hello World ๐</h1>
<p>This is my first website</p>
</body>
</html>
๐งฉ Important Tags
๐ Text Tags
โข
<h1> to <h6> โ Headingsโข
<p> โ Paragraphโข
<br> โ Line break๐ Link Image
โข
<a href=""> โ Linkโข
<img src=""> โ Image๐ฆ Layout Tags
โข
<div> โ Containerโข
<span> โ Inline container๐ง Semantic HTML
๐ These give meaning to your code
<header>
<nav>
<section>
<article>
<footer>
๐ก Helps in:
โข SEO
โข Accessibility
๐ Forms (User Input)
<form>
<input type="text" placeholder="Enter name">
<button>Submit</button>
</form>
๐ Used for:
โข Login
โข Signup
โข Search
๐ฏ Mini Project
๐ Create a simple webpage:
โข Add heading
โข Add paragraph
โข Add image
โข Add link
๐ก Pro Tips
โข Focus on structure, not design
โข Practice daily โ HTML becomes easy
Double Tap โค๏ธ For More