SlideShare a Scribd company logo
2
Most read
4
Most read
11
Most read
HTMLHYPERTEXT MARKUP LANGUAGE
HYPERTEXT MARKUP LANGUAGE
• Not a programming language but it is a Markup Language
• Programming Language VS Markup Language
• Programming:
• Conditions i.e. if, if else, nested if.
• Loops i.e. for, while, Do-while.
• Logics.
• Markup:
• We create document structure.
• That documents are our Web-Pages.
HTML REQUIREMENTS
• Text Editor
• Notepad/Notepad++/Dreamweaver/Atom
• File Extension:-
• .htm/.html
• Web browser:-
• Any Web browser but Firefox is for best uses.
HTML FILE STRUCTURE
<html>
<head>
</head>
<body>
</body>
</html>
 Starting of HTML.
 Root of Web Page Documents.
 Invisible Part(the content in this tag, we write, is not
visible on the Web Browser).
 It links the CSS file, Javascript file , Bootstrap, font-
awesome, Jquery or any other file that we want to link.
 It contains the title of the web page
 Visible Part(the content in this tag is visible on the Web
Browsers).
HEAD - TAGS
• <title></title>
• <meta/> It is only for SEO(Search Engine Optimize).
• <link/> Link the CSS files
• <style></style> contains the CSS properties and Values
• <script></script> It is for JavaScript and Jquery file.
• <base/>
Note:- For the Description of theses tags Checkout the HTML5 Videos.
Base tag in details
• It set the default path for files
Example:- with base tag
<html>
<head>
<base href=“d:images” target=“_blank” / >
</head>
<body>
<img src=“pic1.png”/>
<img src=“pic2.jpg”/>
</body>
</html>
Example:- Without Base tag
<html>
<head>
</head>
<body>
<img src=“d:imagespic1.png”/>
<img src=“d:imagespic2.jpg”/>
</body>
</html>
BODY TAGS - 1
• Headings
• <h1> Heading 1 </h1>
• <h2> Heading 2 </h2>
• <h3> Heading 3 </h3>
• <h4> Heading 4 </h4>
• <h5> Heading 5 </h5>
• <h6> Heading 6 </h6>
• Bold
• <b> </b>
• <strong> </strong>
• Italic
• <i> </i>
• <em> </em>
• Underline
• <u> </u>
• Paragraph
• <p> </p>
• Image
• <img/>
• Break Line
• <br/>
• Pre Formatted Tag
• <pre> </pre>
Example: <pre width=“150”></pre>
• Horizontal Line
• <hr/>
BODY TAGS - 2
• Blockquote
• <blockquote> it give the Left and right
margin </blockquote>
• Quote
• <q> it add the “double inverted comma”
</q>
• Font
• <font color=“red”>Red font</font>
• Strikethrough
• <s> Line between the text like THIS </s>
• Big text
• <big> </big>
• Monotype font or Typewriter Text
• <tt> </tt>
• Abbreviation Tag
• <abbr title=“Hypertext Markup
Language>HTML</abbr>
• Blink Tag
• <blink> </blink>
• Superscript
• <sup> </sup>
• Subscript
• <sub> </sub>
• Small Text
• <small> </small>
BODY TAGS - 3
• Center
• <center> </center>
• Bi- directional Override
• <bdo dir=“ltr”> </bdo>
• <bdo dir=“rtl”> </bdo>
• Special Tag | Unicode Character
• &nbsp; | &#160;  Space
• &copy; | &#169;  Copyright©
• &reg; | &#174;  Register ®
• Form
• <form> </form>
• Ordered List
• <ol>
<li></li>
</ol>
• Unordered List
• <ul>
<li></li>
</ul>
• Definition List
• <dl>
<dt> definition Title </dt>
<dd> definition data </dd>
</dt>
BODY TAGS - 4
• Anchor tag |URL tag
• <a href=“www.google.com”> Google </a>
• <a href=“www.google.com” target=“_blank” tittle=“it will open in new tab”> Google </a>
• <a href=“www.google.com” target=“_self”> Google </a>
• Link color Change
• Link Color Name
• alink Active color Name
• vlink Visited color link
Example: <body link=“blue” alink=“yellow” vlink=“red”> </body>
BODY TAGS - 5
• Table tag with example
<table>
<caption> Demo table</caption>
<thead> <tr><td> this is the Table Heading</td></tr></thead>
<tfoot> <tr><td> this is the Table Footer </td></tr></tfoot>
<th></th>
<tr>
<td> </td>
<td> </td>
</tr>
</table>
BODY TAGS - 6
• Other Attributes of Table tag
• Cellspacing  outer space of the Cells
• Cellpadding  inner space of the Cells
• Rowspan  merge multiple Rows
• Colspan  merge multiple Columns
Note
To see all other tags with their examples
Checkout My HTML5 tutorials Videos
in
my Playlist.

More Related Content

PDF
Html notes
PPTX
Basic python programs
PPTX
Software Evolution and Maintenance Models
PPTX
Learn html Basics
PDF
Intro to HTML and CSS basics
PPT
Types of computer
PPTX
Css Complete Notes
Html notes
Basic python programs
Software Evolution and Maintenance Models
Learn html Basics
Intro to HTML and CSS basics
Types of computer
Css Complete Notes

What's hot (20)

PPTX
Lecture 2 introduction to html
PPTX
HTML (Web) basics for a beginner
PPTX
HTML5 & CSS3
PPT
Introduction to CSS
PPTX
HTML Forms
PPTX
Introduction to html
PPTX
PDF
Html / CSS Presentation
PDF
Introduction to Bootstrap
PPTX
Html coding
PPTX
Html ppt
PPSX
Html introduction
PPT
Web Development using HTML & CSS
PDF
html complete notes
PPTX
HTML Fundamentals
PPT
PPT
PPT
cascading style sheet ppt
Lecture 2 introduction to html
HTML (Web) basics for a beginner
HTML5 & CSS3
Introduction to CSS
HTML Forms
Introduction to html
Html / CSS Presentation
Introduction to Bootstrap
Html coding
Html ppt
Html introduction
Web Development using HTML & CSS
html complete notes
HTML Fundamentals
cascading style sheet ppt
Ad

Similar to Html notes with Examples (20)

PPT
HTML & CSS.ppt
PPT
html and css- 23091 3154 458-5d4341a0.ppt
PPT
introduction to html.ppt
PDF
Intro to html revised2
PPTX
Web technologies-course 02.pptx
PPTX
001-Hyper-Text-Markup-Language-Lesson.pptx
PPTX
HTML-INTRO.pptx
PPT
introduction-to-html hyper text markup .ppt
PPTX
Html (1)
PPTX
HTML 5_cfbe4b8d-092saawww24bb33cb2358.pptx
PPT
Internship HTML_Day-1 for beggineers.ppt
PPTX
Learn HTML Easier
PPTX
Basics of html for web development by software outsourcing company india
PPT
Basics ogHtml
PPTX
PPTX
Html Workshop
PPT
html
HTML & CSS.ppt
html and css- 23091 3154 458-5d4341a0.ppt
introduction to html.ppt
Intro to html revised2
Web technologies-course 02.pptx
001-Hyper-Text-Markup-Language-Lesson.pptx
HTML-INTRO.pptx
introduction-to-html hyper text markup .ppt
Html (1)
HTML 5_cfbe4b8d-092saawww24bb33cb2358.pptx
Internship HTML_Day-1 for beggineers.ppt
Learn HTML Easier
Basics of html for web development by software outsourcing company india
Basics ogHtml
Html Workshop
html
Ad

Recently uploaded (20)

PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Complications of Minimal Access Surgery at WLH
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
Cell Types and Its function , kingdom of life
PPTX
Institutional Correction lecture only . . .
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPTX
Pharma ospi slides which help in ospi learning
PPTX
Cell Structure & Organelles in detailed.
PDF
RMMM.pdf make it easy to upload and study
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Lesson notes of climatology university.
PDF
Sports Quiz easy sports quiz sports quiz
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
Complications of Minimal Access Surgery at WLH
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
human mycosis Human fungal infections are called human mycosis..pptx
Cell Types and Its function , kingdom of life
Institutional Correction lecture only . . .
TR - Agricultural Crops Production NC III.pdf
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Renaissance Architecture: A Journey from Faith to Humanism
O7-L3 Supply Chain Operations - ICLT Program
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Pharma ospi slides which help in ospi learning
Cell Structure & Organelles in detailed.
RMMM.pdf make it easy to upload and study
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Final Presentation General Medicine 03-08-2024.pptx
Lesson notes of climatology university.
Sports Quiz easy sports quiz sports quiz
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf

Html notes with Examples

  • 2. HYPERTEXT MARKUP LANGUAGE • Not a programming language but it is a Markup Language • Programming Language VS Markup Language • Programming: • Conditions i.e. if, if else, nested if. • Loops i.e. for, while, Do-while. • Logics. • Markup: • We create document structure. • That documents are our Web-Pages.
  • 3. HTML REQUIREMENTS • Text Editor • Notepad/Notepad++/Dreamweaver/Atom • File Extension:- • .htm/.html • Web browser:- • Any Web browser but Firefox is for best uses.
  • 4. HTML FILE STRUCTURE <html> <head> </head> <body> </body> </html>  Starting of HTML.  Root of Web Page Documents.  Invisible Part(the content in this tag, we write, is not visible on the Web Browser).  It links the CSS file, Javascript file , Bootstrap, font- awesome, Jquery or any other file that we want to link.  It contains the title of the web page  Visible Part(the content in this tag is visible on the Web Browsers).
  • 5. HEAD - TAGS • <title></title> • <meta/> It is only for SEO(Search Engine Optimize). • <link/> Link the CSS files • <style></style> contains the CSS properties and Values • <script></script> It is for JavaScript and Jquery file. • <base/> Note:- For the Description of theses tags Checkout the HTML5 Videos.
  • 6. Base tag in details • It set the default path for files Example:- with base tag <html> <head> <base href=“d:images” target=“_blank” / > </head> <body> <img src=“pic1.png”/> <img src=“pic2.jpg”/> </body> </html> Example:- Without Base tag <html> <head> </head> <body> <img src=“d:imagespic1.png”/> <img src=“d:imagespic2.jpg”/> </body> </html>
  • 7. BODY TAGS - 1 • Headings • <h1> Heading 1 </h1> • <h2> Heading 2 </h2> • <h3> Heading 3 </h3> • <h4> Heading 4 </h4> • <h5> Heading 5 </h5> • <h6> Heading 6 </h6> • Bold • <b> </b> • <strong> </strong> • Italic • <i> </i> • <em> </em> • Underline • <u> </u> • Paragraph • <p> </p> • Image • <img/> • Break Line • <br/> • Pre Formatted Tag • <pre> </pre> Example: <pre width=“150”></pre> • Horizontal Line • <hr/>
  • 8. BODY TAGS - 2 • Blockquote • <blockquote> it give the Left and right margin </blockquote> • Quote • <q> it add the “double inverted comma” </q> • Font • <font color=“red”>Red font</font> • Strikethrough • <s> Line between the text like THIS </s> • Big text • <big> </big> • Monotype font or Typewriter Text • <tt> </tt> • Abbreviation Tag • <abbr title=“Hypertext Markup Language>HTML</abbr> • Blink Tag • <blink> </blink> • Superscript • <sup> </sup> • Subscript • <sub> </sub> • Small Text • <small> </small>
  • 9. BODY TAGS - 3 • Center • <center> </center> • Bi- directional Override • <bdo dir=“ltr”> </bdo> • <bdo dir=“rtl”> </bdo> • Special Tag | Unicode Character • &nbsp; | &#160;  Space • &copy; | &#169;  Copyright© • &reg; | &#174;  Register ® • Form • <form> </form> • Ordered List • <ol> <li></li> </ol> • Unordered List • <ul> <li></li> </ul> • Definition List • <dl> <dt> definition Title </dt> <dd> definition data </dd> </dt>
  • 10. BODY TAGS - 4 • Anchor tag |URL tag • <a href=“www.google.com”> Google </a> • <a href=“www.google.com” target=“_blank” tittle=“it will open in new tab”> Google </a> • <a href=“www.google.com” target=“_self”> Google </a> • Link color Change • Link Color Name • alink Active color Name • vlink Visited color link Example: <body link=“blue” alink=“yellow” vlink=“red”> </body>
  • 11. BODY TAGS - 5 • Table tag with example <table> <caption> Demo table</caption> <thead> <tr><td> this is the Table Heading</td></tr></thead> <tfoot> <tr><td> this is the Table Footer </td></tr></tfoot> <th></th> <tr> <td> </td> <td> </td> </tr> </table>
  • 12. BODY TAGS - 6 • Other Attributes of Table tag • Cellspacing  outer space of the Cells • Cellpadding  inner space of the Cells • Rowspan  merge multiple Rows • Colspan  merge multiple Columns
  • 13. Note To see all other tags with their examples Checkout My HTML5 tutorials Videos in my Playlist.