HTML (HyperText Markup Language)
Introduction:
HTML is the standard markup language used to create web pages. It structures content on the web
using elements and tags.
Basic Structure of HTML:
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
Common HTML Tags:
• <html> - Root element
• <head> - Contains meta information
• <title> - Sets page title
• <body> - Contains visible content
• <h1> to <h6> - Headings
• <p> - Paragraph
• <a> - Hyperlink
• <img> - Image
• <ul>, <ol>, <li> - Lists
• <table>, <tr>, <td> - Tables
• <form> - Form for user input
Features of HTML:
• Simple and easy to learn
• Platform independent
• Supports multimedia (images, audio, video)
• Works with CSS and JavaScript
• Supported by all modern browsers
Conclusion:
HTML is the foundation of web development. It is used to structure web pages and works together
with CSS and JavaScript to create interactive and attractive websites.