SlideShare uma empresa Scribd logo
1 de 13
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.

Mais conteúdo relacionado

Mais procurados (20)

Css Complete Notes
Css Complete NotesCss Complete Notes
Css Complete Notes
 
HTML Forms
HTML FormsHTML Forms
HTML Forms
 
Html notes
Html notesHtml notes
Html notes
 
Html1
Html1Html1
Html1
 
HTML (Web) basics for a beginner
HTML (Web) basics for a beginnerHTML (Web) basics for a beginner
HTML (Web) basics for a beginner
 
Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)
 
Html forms
Html formsHtml forms
Html forms
 
Html Basic Tags
Html Basic TagsHtml Basic Tags
Html Basic Tags
 
Html frames
Html framesHtml frames
Html frames
 
Html
HtmlHtml
Html
 
Html ppt
Html pptHtml ppt
Html ppt
 
PHP HTML CSS Notes
PHP HTML CSS  NotesPHP HTML CSS  Notes
PHP HTML CSS Notes
 
Html
HtmlHtml
Html
 
Html frames
Html framesHtml frames
Html frames
 
HTML
HTMLHTML
HTML
 
HTML practical file
HTML practical fileHTML practical file
HTML practical file
 
Html
HtmlHtml
Html
 
Html links
Html linksHtml links
Html links
 
Html project
Html projectHtml project
Html project
 
The Complete HTML
The Complete HTMLThe Complete HTML
The Complete HTML
 

Semelhante a Html notes with Examples (20)

HTML & CSS.ppt
HTML & CSS.pptHTML & CSS.ppt
HTML & CSS.ppt
 
introduction to html.ppt
introduction to html.pptintroduction to html.ppt
introduction to html.ppt
 
Lecture 2 introduction to html
Lecture 2  introduction to htmlLecture 2  introduction to html
Lecture 2 introduction to html
 
Html
HtmlHtml
Html
 
Intro to html revised2
Intro to html revised2Intro to html revised2
Intro to html revised2
 
Web technologies-course 02.pptx
Web technologies-course 02.pptxWeb technologies-course 02.pptx
Web technologies-course 02.pptx
 
HTML-INTRO.pptx
HTML-INTRO.pptxHTML-INTRO.pptx
HTML-INTRO.pptx
 
introduction-to-html hyper text markup .ppt
introduction-to-html hyper text markup  .pptintroduction-to-html hyper text markup  .ppt
introduction-to-html hyper text markup .ppt
 
Html
HtmlHtml
Html
 
Html (1)
Html (1)Html (1)
Html (1)
 
HTML 5_cfbe4b8d-092saawww24bb33cb2358.pptx
HTML 5_cfbe4b8d-092saawww24bb33cb2358.pptxHTML 5_cfbe4b8d-092saawww24bb33cb2358.pptx
HTML 5_cfbe4b8d-092saawww24bb33cb2358.pptx
 
Html cia
Html ciaHtml cia
Html cia
 
Learn HTML Easier
Learn HTML EasierLearn HTML Easier
Learn HTML Easier
 
Basics of html for web development by software outsourcing company india
Basics of html for web development   by software outsourcing company indiaBasics of html for web development   by software outsourcing company india
Basics of html for web development by software outsourcing company india
 
Basics ogHtml
Basics ogHtml Basics ogHtml
Basics ogHtml
 
Html -2
Html -2Html -2
Html -2
 
Html Workshop
Html WorkshopHtml Workshop
Html Workshop
 
html
htmlhtml
html
 
Computer language - HTML tags
Computer language - HTML tagsComputer language - HTML tags
Computer language - HTML tags
 
Html tutorials
Html tutorialsHtml tutorials
Html tutorials
 

Último

Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 

Último (20)

Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 

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.