CBSE Class 10  >  Class 10 Notes  >  HTML Basics: Revision Notes

HTML Basics: Revision Notes

HTML 

HTML (Hyper Text Markup Language) is a language that tells a computer how to develop a web page. The documents themselves are plain text files  with special ''tags'' or codes that a web browser uses to interpret and display information on your computer screen.
HTML 

Structure of the HTML 

  The basic structure of the HTML document is divided into two sections namely, the head and the body.
  The basic structure of HTML document is shown below:Structure of the HTML 

Tags of HTML 

➢ HTML tags: html, head, title, body, (attributes: text, background, bgcolor), br (break), hr(horizontal rule), inserting comments, h1..h6 (heading), p (paragraph), b (bold), i (italics), u (underline).
➢ Font tags (attributes: face, size, color).
➢ Insert images: img (attributes: src, width, height, alt).

Tag

➢ A tag tells the browser to perform an action as asked by the special word. The special word may be written either in lower case or upper case. The browser will respond to both the cases equally.

Attribute 

The characteristics or the features of a tag are defined by an attribute. An attribute is used inside a tag. An attribute always takes a value to help the browser perform the specific task in a particular direction. There may be more than one attributes used inside a tag.
➢ SUB and SUP Tags: Subscript <SUB> and Superscript <SUP> tags allow the web author to place specified  text either slightly below (SUB) or above (SUP) the rest of the text in a particular line.
 Bold, Italic and Underline.
To make the text boldface, italics and underlined,
Attribute 

The document HTML Basics: Revision Notes is a part of Class 10 category.
All you need of Class 10 at this link: Class 10

FAQs on HTML Basics: Revision Notes

1. What are the basic HTML tags I need to know for Class 10 CBSE exams?
Ans. Essential HTML tags include `<html>`, `<head>`, `<body>`, `<p>`, `<h1>` to `<h6>`, `<a>`, `<img>`, `<div>`, `<span>`, `<ul>`, `<ol>`, and `<li>`. These structural and semantic elements form the foundation of web page markup. Students should understand each tag's purpose in creating properly formatted HTML documents for board exams.
2. How do HTML attributes work and why do I need them?
Ans. HTML attributes provide additional information about elements and are written inside opening tags. Common attributes include `href` (links), `src` (images), `alt` (descriptions), `class`, and `id`. Attributes modify element behaviour and appearance without changing the tag itself. Understanding attribute syntax is crucial for Class 10 web development assessments.
3. What's the difference between block-level and inline HTML elements?
Ans. Block-level elements like `<div>`, `<p>`, and `<h1>` occupy full width and start on new lines, creating distinct sections. Inline elements such as `<span>`, `<a>`, and `<img>` flow within text without line breaks. Recognising this distinction helps students structure HTML documents correctly and understand page layout fundamentals tested in exams.
4. Why do I need DOCTYPE and the HTML document structure?
Ans. DOCTYPE declares the HTML version and helps browsers render pages correctly. The standard structure includes `<!DOCTYPE html>`, `<html>`, `<head>` (metadata), and `<body>` (content). Proper document structure ensures semantic validity and compatibility across devices-a key revision point for CBSE assessments on web standards.
5. How do I create lists, links, and images in HTML correctly?
Ans. Use `<ul>` for unordered lists and `<ol>` for ordered lists with `<li>` items. Create links with `<a href="URL">text</a>` and embed images using `<img src="file" alt="description">`. These elements are frequently tested in Class 10 practicals. Refer to flashcards or mind maps for syntax variations and real-world implementation examples.
Download as PDF

Top Courses for Class 10

Related Searches
pdf , HTML Basics: Revision Notes, Free, Objective type Questions, Previous Year Questions with Solutions, Important questions, Viva Questions, MCQs, practice quizzes, Extra Questions, Semester Notes, Sample Paper, ppt, HTML Basics: Revision Notes, Exam, past year papers, study material, shortcuts and tricks, Summary, mock tests for examination, video lectures, HTML Basics: Revision Notes;