SlideShare a Scribd company logo
TRINITY INSTITUTE OF PROFESSIONAL STUDIES
Sector – 9, Dwarka Institutional Area, New Delhi-75
Affiliated Institution of G.G.S.IP.U, Delhi
HTML
BBA CA 208
By : Ruchika Bajaj
Assistant Professor (IT)
TRINITY INSTITUTE OF PROFESSIONAL STUDIES
Sector – 9, Dwarka Institutional Area, New Delhi-75
HTML
• HTML stands for Hyper Text Markup Language
• It is a language with the help of which we can create
your own Web site.
• A markup language is a set of markup tags
• HTML documents are described by HTML tags
• Each HTML tag describes different document content
TRINITY INSTITUTE OF PROFESSIONAL STUDIES
Sector – 9, Dwarka Institutional Area, New Delhi-75
HTML Example: Document Tag
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
TRINITY INSTITUTE OF PROFESSIONAL STUDIES
Sector – 9, Dwarka Institutional Area, New Delhi-75
HTML Example
 The DOCTYPE declaration defines the document type to be HTML
 The text between <html> and </html> describes an HTML
document
 The text between <head> and </head> provides information about
the document
 The text between <title> and </title> provides a title for the
document
 The text between <body> and </body> describes the visible page
content
 The text between <h1> and </h1> describes a heading
 The text between <p> and </p> describes a paragraph
 Using this description, a web browser can display a document with a
heading and a paragraph.
TRINITY INSTITUTE OF PROFESSIONAL STUDIES
Sector – 9, Dwarka Institutional Area, New Delhi-75
HTML Tags
• HTML tags are keywords (tag names) surrounded
by angle brackets:
• <tagname>content</tagname>
• HTML tags normally come in pairs like <p> and </p>
• The first tag in a pair is the start tag, the second tag is
the end tag
• The end tag is written like the start tag, but with
a slash before the tag name
• The start tag is often called the opening tag. The end
tag is often called the closing tag.
TRINITY INSTITUTE OF PROFESSIONAL STUDIES
Sector – 9, Dwarka Institutional Area, New Delhi-75
Write HTML Using Notepad or Text
Edit
• HTML can be edited by using a professional
HTML editor like:
• Adobe Dreamweaver
• Microsoft Expression Web
• CoffeeCup HTML Editor
TRINITY INSTITUTE OF PROFESSIONAL STUDIES
Sector – 9, Dwarka Institutional Area, New Delhi-75
Step 1: Open Notepad
• To open Notepad in Windows 7 or earlier:
• Click Start (bottom left on your screen).
Click All Programs. Click Accessories.
Click Notepad.
• To open Notepad in Windows 8 or later:
• Open the Start Screen (the window symbol at
the bottom left on your screen).
Type Notepad.
TRINITY INSTITUTE OF PROFESSIONAL STUDIES
Sector – 9, Dwarka Institutional Area, New Delhi-75
Step 2: Write Some HTML
• Write or copy some HTML into Notepad.
• <!DOCTYPE html>
<html>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
TRINITY INSTITUTE OF PROFESSIONAL STUDIES
Sector – 9, Dwarka Institutional Area, New Delhi-75
TRINITY INSTITUTE OF PROFESSIONAL STUDIES
Sector – 9, Dwarka Institutional Area, New Delhi-75
Step 3: Save the HTML Page
• Save the file on your computer.
• Select File > Save as in the Notepad menu.
• Name the file "index.htm" or any other name
ending with htm.
TRINITY INSTITUTE OF PROFESSIONAL STUDIES
Sector – 9, Dwarka Institutional Area, New Delhi-75
TRINITY INSTITUTE OF PROFESSIONAL STUDIES
Sector – 9, Dwarka Institutional Area, New Delhi-75
HTML Paragraphs
• HTML paragraphs are defined with the <p> tag:
• Example
<p>
This paragraph
contains a lot of lines
in the source code,
but the browser
ignores it.
</p>
TRINITY INSTITUTE OF PROFESSIONAL STUDIES
Sector – 9, Dwarka Institutional Area, New Delhi-75
HTML Line Breaks
• The HTML <br> element defines a line break.
• Use <br> if you want a line break (a new line)
without starting a new paragraph:
• Example
• <p>This is<br>a para<br>graph with line
breaks</p>
• Result:
• This is
a para
graph with line breaks
TRINITY INSTITUTE OF PROFESSIONAL STUDIES
Sector – 9, Dwarka Institutional Area, New Delhi-75
Container Tags
• Container tags are those tags which contains
content in it.
• Ex :
• <p>
This paragraph
contains a lot of lines
in the source code,
but the browser
ignores it.
</p>
• Hence p tag is a container tag
TRINITY INSTITUTE OF PROFESSIONAL STUDIES
Sector – 9, Dwarka Institutional Area, New Delhi-75
Empty Tag
• <br > is an empty element without a closing
tag (the <br> tag defines a line break).
• It does not require any content in it.

More Related Content

PPTX
Hypertext markup language (html)
PPTX
HTML (Hyper Text Markup Language)
PPTX
The Difference between HTML, XHTML & HTML5 for Beginners
PPT
Hyper Text Mark-up Language
PDF
PPTX
HTML (Hyper Text Markup Language)
Hypertext markup language (html)
HTML (Hyper Text Markup Language)
The Difference between HTML, XHTML & HTML5 for Beginners
Hyper Text Mark-up Language
HTML (Hyper Text Markup Language)

What's hot (20)

PPTX
Introduction to basic HTML [Librarian edition]
PPTX
Html vs xhtml
PPT
PPTX
basic introduction of html tags
PPT
HTML Introduction
PPTX
PPTX
PPT
Html Slide Part-1
PPTX
Introduction to HTML
PPTX
uptu web technology unit 2 html
PPTX
Lecture 4 - Adding XTHML for the Web
PDF
Introduction to XHTML
PPTX
PPT
Design Tools Html Xhtml
PDF
[Basic HTML/CSS] 1. html - basic tags
PPTX
Lecture 2 introduction to html basics
PPS
PPTX
Basic Html Knowledge for students
PPT
Introduction to basic HTML [Librarian edition]
Html vs xhtml
basic introduction of html tags
HTML Introduction
Html Slide Part-1
Introduction to HTML
uptu web technology unit 2 html
Lecture 4 - Adding XTHML for the Web
Introduction to XHTML
Design Tools Html Xhtml
[Basic HTML/CSS] 1. html - basic tags
Lecture 2 introduction to html basics
Basic Html Knowledge for students
Ad

Similar to HTML- Hyper Text Markup Language (20)

PDF
html.pdf
PDF
WEB PROGRAMMING bharathiar university bca unitII
PPTX
Unit 2 Internet and web technology CSS report
PDF
Html tutorial
PPTX
Html (hypertext markup language)
PPTX
Introduction to HTML
PDF
Introduction to html (912 kb)
DOCX
Web Designing.docx
PPT
Html presantation
PDF
Module 1 - Introduction to HTML.pdf
PPTX
basic knowledge of html which is related to frontend web development.
DOCX
Htmlnotes 150323102005-conversion-gate01
PDF
Unit 2 HTML.pdf related to basic HTML cmd
PPTX
001-Hyper-Text-Markup-Language-Lesson.pptx
PPTX
HTML - R.D.sivakumar
PPTX
Session no 1
PDF
HSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART I.pdf
PPTX
HTML 5_cfbe4b8d-092saawww24bb33cb2358.pptx
PDF
Html notes
html.pdf
WEB PROGRAMMING bharathiar university bca unitII
Unit 2 Internet and web technology CSS report
Html tutorial
Html (hypertext markup language)
Introduction to HTML
Introduction to html (912 kb)
Web Designing.docx
Html presantation
Module 1 - Introduction to HTML.pdf
basic knowledge of html which is related to frontend web development.
Htmlnotes 150323102005-conversion-gate01
Unit 2 HTML.pdf related to basic HTML cmd
001-Hyper-Text-Markup-Language-Lesson.pptx
HTML - R.D.sivakumar
Session no 1
HSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART I.pdf
HTML 5_cfbe4b8d-092saawww24bb33cb2358.pptx
Html notes
Ad

More from Trinity Dwarka (20)

PPTX
Why BAJMC in Trinity Dwarka
PPTX
Career Options after BCA
PPTX
Principles of Management-Management-Concept & Meaning
PPTX
Principles of Management- Management Process & Functions
PPTX
Principles of Management- Managerial Levels & Roles-
PPTX
Management-Concept & Meaning
PPTX
Principles of Management- Planning
PPTX
Organizing Authority & Responsibility- Principles of Management
PPTX
Staffing- Principles of Management
PPTX
Directing-Principles of Management
PPTX
Dimensional Modelling-Data Warehouse & Data Mining
PPTX
Data Preprocessing- Data Warehouse & Data Mining
PPTX
Computer Networks- Network Basics
PPTX
Java Programming- Introduction to Java Applet Programs
PPTX
Linux Environment- Linux vs Unix
PPTX
Linux Environment- Linux Basics
PPTX
BCA-Mobile Computing- BASICS OF MOBILE COMPUTING
PPTX
INTRODUCTION TO INFORMATION TECHNOLOGY- IT Basics
PPTX
Database Management System
PPTX
JAVA PROGRAMMING- OOP Concept
Why BAJMC in Trinity Dwarka
Career Options after BCA
Principles of Management-Management-Concept & Meaning
Principles of Management- Management Process & Functions
Principles of Management- Managerial Levels & Roles-
Management-Concept & Meaning
Principles of Management- Planning
Organizing Authority & Responsibility- Principles of Management
Staffing- Principles of Management
Directing-Principles of Management
Dimensional Modelling-Data Warehouse & Data Mining
Data Preprocessing- Data Warehouse & Data Mining
Computer Networks- Network Basics
Java Programming- Introduction to Java Applet Programs
Linux Environment- Linux vs Unix
Linux Environment- Linux Basics
BCA-Mobile Computing- BASICS OF MOBILE COMPUTING
INTRODUCTION TO INFORMATION TECHNOLOGY- IT Basics
Database Management System
JAVA PROGRAMMING- OOP Concept

Recently uploaded (20)

PDF
Pre independence Education in Inndia.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
RMMM.pdf make it easy to upload and study
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
Institutional Correction lecture only . . .
PDF
Basic Mud Logging Guide for educational purpose
PDF
Classroom Observation Tools for Teachers
PPTX
Lesson notes of climatology university.
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
Pharma ospi slides which help in ospi learning
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Cell Structure & Organelles in detailed.
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Pre independence Education in Inndia.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
RMMM.pdf make it easy to upload and study
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
102 student loan defaulters named and shamed – Is someone you know on the list?
Anesthesia in Laparoscopic Surgery in India
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Institutional Correction lecture only . . .
Basic Mud Logging Guide for educational purpose
Classroom Observation Tools for Teachers
Lesson notes of climatology university.
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Pharma ospi slides which help in ospi learning
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Final Presentation General Medicine 03-08-2024.pptx
Cell Structure & Organelles in detailed.
O7-L3 Supply Chain Operations - ICLT Program
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx

HTML- Hyper Text Markup Language

  • 1. TRINITY INSTITUTE OF PROFESSIONAL STUDIES Sector – 9, Dwarka Institutional Area, New Delhi-75 Affiliated Institution of G.G.S.IP.U, Delhi HTML BBA CA 208 By : Ruchika Bajaj Assistant Professor (IT)
  • 2. TRINITY INSTITUTE OF PROFESSIONAL STUDIES Sector – 9, Dwarka Institutional Area, New Delhi-75 HTML • HTML stands for Hyper Text Markup Language • It is a language with the help of which we can create your own Web site. • A markup language is a set of markup tags • HTML documents are described by HTML tags • Each HTML tag describes different document content
  • 3. TRINITY INSTITUTE OF PROFESSIONAL STUDIES Sector – 9, Dwarka Institutional Area, New Delhi-75 HTML Example: Document Tag <!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> </body> </html>
  • 4. TRINITY INSTITUTE OF PROFESSIONAL STUDIES Sector – 9, Dwarka Institutional Area, New Delhi-75 HTML Example  The DOCTYPE declaration defines the document type to be HTML  The text between <html> and </html> describes an HTML document  The text between <head> and </head> provides information about the document  The text between <title> and </title> provides a title for the document  The text between <body> and </body> describes the visible page content  The text between <h1> and </h1> describes a heading  The text between <p> and </p> describes a paragraph  Using this description, a web browser can display a document with a heading and a paragraph.
  • 5. TRINITY INSTITUTE OF PROFESSIONAL STUDIES Sector – 9, Dwarka Institutional Area, New Delhi-75 HTML Tags • HTML tags are keywords (tag names) surrounded by angle brackets: • <tagname>content</tagname> • HTML tags normally come in pairs like <p> and </p> • The first tag in a pair is the start tag, the second tag is the end tag • The end tag is written like the start tag, but with a slash before the tag name • The start tag is often called the opening tag. The end tag is often called the closing tag.
  • 6. TRINITY INSTITUTE OF PROFESSIONAL STUDIES Sector – 9, Dwarka Institutional Area, New Delhi-75 Write HTML Using Notepad or Text Edit • HTML can be edited by using a professional HTML editor like: • Adobe Dreamweaver • Microsoft Expression Web • CoffeeCup HTML Editor
  • 7. TRINITY INSTITUTE OF PROFESSIONAL STUDIES Sector – 9, Dwarka Institutional Area, New Delhi-75 Step 1: Open Notepad • To open Notepad in Windows 7 or earlier: • Click Start (bottom left on your screen). Click All Programs. Click Accessories. Click Notepad. • To open Notepad in Windows 8 or later: • Open the Start Screen (the window symbol at the bottom left on your screen). Type Notepad.
  • 8. TRINITY INSTITUTE OF PROFESSIONAL STUDIES Sector – 9, Dwarka Institutional Area, New Delhi-75 Step 2: Write Some HTML • Write or copy some HTML into Notepad. • <!DOCTYPE html> <html> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> </body> </html>
  • 9. TRINITY INSTITUTE OF PROFESSIONAL STUDIES Sector – 9, Dwarka Institutional Area, New Delhi-75
  • 10. TRINITY INSTITUTE OF PROFESSIONAL STUDIES Sector – 9, Dwarka Institutional Area, New Delhi-75 Step 3: Save the HTML Page • Save the file on your computer. • Select File > Save as in the Notepad menu. • Name the file "index.htm" or any other name ending with htm.
  • 11. TRINITY INSTITUTE OF PROFESSIONAL STUDIES Sector – 9, Dwarka Institutional Area, New Delhi-75
  • 12. TRINITY INSTITUTE OF PROFESSIONAL STUDIES Sector – 9, Dwarka Institutional Area, New Delhi-75 HTML Paragraphs • HTML paragraphs are defined with the <p> tag: • Example <p> This paragraph contains a lot of lines in the source code, but the browser ignores it. </p>
  • 13. TRINITY INSTITUTE OF PROFESSIONAL STUDIES Sector – 9, Dwarka Institutional Area, New Delhi-75 HTML Line Breaks • The HTML <br> element defines a line break. • Use <br> if you want a line break (a new line) without starting a new paragraph: • Example • <p>This is<br>a para<br>graph with line breaks</p> • Result: • This is a para graph with line breaks
  • 14. TRINITY INSTITUTE OF PROFESSIONAL STUDIES Sector – 9, Dwarka Institutional Area, New Delhi-75 Container Tags • Container tags are those tags which contains content in it. • Ex : • <p> This paragraph contains a lot of lines in the source code, but the browser ignores it. </p> • Hence p tag is a container tag
  • 15. TRINITY INSTITUTE OF PROFESSIONAL STUDIES Sector – 9, Dwarka Institutional Area, New Delhi-75 Empty Tag • <br > is an empty element without a closing tag (the <br> tag defines a line break). • It does not require any content in it.