Docsity

HTML Notes with Programs | Beginner to Advanced | Hinglish | Exam Oriented, Study notes of Computer science

Toggle sidebar
bg1
HTML NOTES
1
HTML NOTES (BEGINNER TO ADVANCED)
For Students | Exams | Practice |
🔹 1. Introduction to HTML
HTML ka full form HyperText Markup Language hai.
HTML ka use web pages banane ke liye hota hai.
HTML ek markup language hai, programming language nahi.
• HTML tags ka use karta hai
• HTML browser ko batata hai page ka structure
• HTML file ka extension: .html ya .htm
🔹 2. Basic Structure of HTML
<!DOCTYPE html>
<html>
<head>
<title>My First Web Page</title>
</head>
<body>
<h1>Hello World</h1>
</body>
</html>
Explanation:
• <!DOCTYPE html> → HTML5 declaration
• <html> → Root tag
• <head> → Page information
• <title> → Browser tab ka title
• <body> → Visible content
pf3
pf4
pf5

Partial preview of the text

Download HTML Notes with Programs | Beginner to Advanced | Hinglish | Exam Oriented and more Study notes Computer science in PDF only on Docsity!

HTML NOTES (BEGINNER TO ADVANCED)

For Students | Exams | Practice | 🔹 1. Introduction to HTML HTML ka full form HyperText Markup Language hai. HTML ka use web pages banane ke liye hota hai. HTML ek markup language hai, programming language nahi.

  • HTML tags ka use karta hai
  • HTML browser ko batata hai page ka structure
  • HTML file ka extension: .html ya .htm 🔹 2. Basic Structure of HTML

My First Web Page

Hello World

Explanation:

  • → HTML5 declaration
  • → Root tag
  • → Page information
  • → Browser tab ka title
  • <body> → Visible content

🔹 3. Heading Tags Heading 1 Heading 2 Heading 3 Heading 4 Heading 5 Heading 6 🔹 4. Paragraph & Text Formatting

This is a paragraph

Bold Text
Italic Text
Underline Text
Highlighted Text
Superscript Subscript 🔹 **5. Line Break & Horizontal Line** This is line one
This is line two

🔹 6. Lists in HTML Ordered List

HTML CSS

🔹 10. Form in HTML

Name:

Password:

Gender: Male Female

🔹 11. Input Types

🔹 12. Marquee (Extra Creativity)

Welcome to My Website

🔹 13. HTML Comments

🔹 14. HTML Entities < > © ®
🔹 15. Simple Complete Web Page (Exam Oriented)

My Website

Welcome

This is my first website.

Click Here

🔹 16. Advantages of HTML

  • Easy to learn
  • Platform independent
  • Supported by all browsers
  • Free and open source 🔹 17. Disadvantages of HTML
  • Dynamic content possible nahi
  • Design ke liye CSS required
  • Logic ke liye JavaScript needed