Class 3 Exam  >  Class 3 Notes  >  HTML for Junior Classes  >  Introduction to HTML

Introduction to HTML | HTML for Junior Classes - Class 3 PDF Download

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

Example

<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>

<h1>My First Heading</h1>
<p>My first paragraph.</p>

</body>

</html>

Introduction to HTML | HTML for Junior Classes - Class 3

Example Explained

  • The <!DOCTYPE html> declaration defines that this document is an HTML5 document
  • The <html> element is the root element of an HTML page
  • The <head> element contains meta information about the HTML page
  • The <title> element specifies a title for the HTML page (which is shown in the browser's title bar or in the page's tab)
  • The <body> element defines the document's body, and is a container for all the visible contents, such as headings, paragraphs, images, hyperlinks, tables, lists, etc.
  • The <h1> element defines a large heading
  • The <p> element defines a paragraph

Question for Introduction to HTML
Try yourself:
What does HTML stand for?
View Solution

What is an HTML Element?


An HTML element is defined by a start tag, some content, and an end tag:
<tagname> Content goes here... </tagname>
The HTML element is everything from the start tag to the end tag:
<h1>My First Heading</h1>
<p>My first paragraph.</p>

Introduction to HTML | HTML for Junior Classes - Class 3

Note: Some HTML elements have no content (like the <br> element). These elements are called empty elements. Empty elements do not have an end tag!

Web Browsers

The purpose of a web browser (Chrome, Edge, Firefox, Safari) is to read HTML documents and display them correctly.
A browser does not display the HTML tags, but uses them to determine how to display the document:

Introduction to HTML | HTML for Junior Classes - Class 3

HTML Page Structure

Below is a visualization of an HTML page structure:
Introduction to HTML | HTML for Junior Classes - Class 3

Note: The content inside the <body> section (the white area above) will be displayed in a browser. The content inside the <title> element will be shown in the browser's title bar or in the page's tab.

HTML History

Since the early days of the World Wide Web, there have been many versions of HTML:

This tutorial follows the latest HTML5 standard.

The document Introduction to HTML | HTML for Junior Classes - Class 3 is a part of the Class 3 Course HTML for Junior Classes.
All you need of Class 3 at this link: Class 3
14 videos|31 docs|24 tests

Top Courses for Class 3

FAQs on Introduction to HTML - HTML for Junior Classes - Class 3

1. What is HTML?
Ans. HTML stands for HyperText Markup Language, which is the standard language used to create and design websites.
2. What are the basic elements of HTML?
Ans. The basic elements of HTML include tags, attributes, and content, which are used to structure and present content on a webpage.
3. How do you create a hyperlink in HTML?
Ans. To create a hyperlink in HTML, you use the <a> tag with the href attribute to specify the URL you want to link to.
4. What is the difference between HTML and CSS?
Ans. HTML is used for structuring content on a webpage, while CSS (Cascading Style Sheets) is used for styling and designing the appearance of the content.
5. How can you add an image to a webpage using HTML?
Ans. To add an image to a webpage in HTML, you use the <img> tag with the src attribute to specify the image file you want to display.
14 videos|31 docs|24 tests
Download as PDF
Explore Courses for Class 3 exam

Top Courses for Class 3

Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Related Searches

Introduction to HTML | HTML for Junior Classes - Class 3

,

Extra Questions

,

Viva Questions

,

Exam

,

Introduction to HTML | HTML for Junior Classes - Class 3

,

ppt

,

Objective type Questions

,

pdf

,

study material

,

shortcuts and tricks

,

video lectures

,

MCQs

,

Sample Paper

,

Previous Year Questions with Solutions

,

mock tests for examination

,

Introduction to HTML | HTML for Junior Classes - Class 3

,

Important questions

,

Free

,

practice quizzes

,

past year papers

,

Summary

,

Semester Notes

;