Chapter 6: Introduction to HTML
What is HTML?
- HTML stands for Hyper Text Markup Language.
- HTML is the standard markup language for creating web pages.
- HTML describes the structure of a web page.
- HTML consists of a series of elements.
- HTML elements tell the browser how to display the content.
- HTML elements label pieces of content such as "this is a heading", "this is a paragraph", "this is a link", etc.
A Simple HTML Document:
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
Introduction
In previous chapters, we learned different HTML tags and attributes used to design web pages. In this chapter, we will learn how to create Lists and Tables. These features make web pages more attractive and professional.
Lists in HTML
Lists are used to arrange items in an organised form. They help to group related information together.
List Item Tag:
<li> is used to create list items.
Syntax:
<li> Item Name </li>
Types of Lists in HTML
1. Unordered List
Used when order is not important.
```html- Milk
- Bread
- Butter
- Wake Up
- Study
- Sleep
- HTML
- Hyper Text Markup Language
| Name | Class |
|---|---|
| Rahul | 10th |
Thank You
Chapter 6: Introduction to HTML Que. & Ans.
Click here to access all Questions & Answers
Visit Now ⤴
No comments:
Post a Comment