SlideShare a Scribd company logo
1 of 26
Hyper Text Markup Language
HTML
Introduction
 It is a markup language for describing web
documents (web pages). HTML stands for Hyper
Text Markup Language. A markup language is a
set of markup tags, html documents are
described by HTML tags. Each HML tag
describes different document content.
 It is a set of markup symbols or codes inserted in
a file intended for display on a world wide web
(www) browser page. The markup tells the web
browser how to display a web pages words &
images for the user.
 Each individual markup code is referred
to as an element (but many people also
refer to it as a tag).
 Some elements come in pairs that
indicate when some display effect is to
begin & when it is to end.
 HTML has
 HTML Tags
HTML attributes.
Rules of HTML
 The HTML documents, all html documents must
start with a type declaration.
<!DOCTYPE html>
 The HTML documents itself begins with <html> &
ends with </html>
 The visible part of the HTML document is
between <body> & </body>
Simple Code Syntax of
HTML
<!DOCTYPE html> (Opening Tag)
<html> (html tag)
<head> (head tag)
<title> title name </title> (title tag)
</head> (head closed)
<body> (body tag)
<h1> heading </h1> (heading tag)
</body> (body closed)
</html> (html closed)
[A] HTML tags
 HTML tags are keywords (tag names) surrounded by angle
brackets.
E.g. <tag name> content </tag name>
 HTML tags normally come in pairs like <p> & </p>. The
first tag in a pair is the start tag, the second tag is the end
tag. The end tag is written like start tag, but with a forward
slash inserted before the tag name.
 HTML tags are:
Heading tag, paragraph tag, style tag, background tag,
formatting tag, comment tag, links tag, images tag, list tag,
block tag, div tag, table tag, head tag, layout tag, class tag
etc.
[1] HTML Head
 The <head> element is a container for metadata (data
about data). HTML metadata is data about the HTML
document. Metadata is not displayed.
 Metadata typically define document title, styles, links,
scripts & other meta information. The following tags
describe metadata :
<title>
<style>
<meta>
<link>
<script>
<base>
[2] HTML Heading
 Heading are defined with the <h1> to <h6>
defines the least important heading.
<h1> heading 1 </h1>
<h2> heading 2 </h2>
<h3> heading 3 </h3>
<h4> heading 4 </h4>
<h5> heading 5 </h5>
<h6> heading 6 </h6>
[3] HTML Paragraph
 The html <p> element defines a paragraph.
<p> paragraph>
[4] HTML Styles
 Setting the style of an HTML elements can be
done with the style attribute. The HTML style has
the following syntax:
<style> </style>
[5] HTML Background Color
 The background color property defines the
background color for an HTML element.
E.g. <body bgcolor=“lightrey”>
[6] HTML Formatting
 HTML uses element like
<b> = bold
<i> = italic
<u>= underline
[7] HTML Comments
 Comment tags <!......&> are used to insert
comments in HTML.
<! This is a comment>
<! Remember to add more info here>
[8] HTML Links
 A hyperlink is a text or an image you can click on, &
jump to another document.
<a href=“URL”> link text</a>
<a href=“http://www.fb.com/rajendra.chand.9865”>
MY facebook
Page </a>
[9] HTML Images
 In HTML, images are defined with the <img> tag.
The <img> tag is empty, it contains attributes
only, & does not have a closing tag. The src
attribute specifies the URL (web address) of the
image. The alt attribute specifies an alternate text
for an image, if the image cannot be displayed.
<img src=“URL” alt=“some-text”/>
<img src=“filename.jpeg” alt=“about image”
width=“100px” height=“100px” />
[10] HTML List
 There are two types of list:
[a] Unordered HTML Lists:
 An unordered list starts with the <ul> tag. Each
list item starts with the <li> tag. The list items will
be marked with bullets (small black circles)
<ul>
<li> coffee </li>
<li> tea </li>
</ul>
[b] Ordered HTML Lists:
 An ordered list starts with the <ol> tag. Each list
item starts with the <li> tag.
<ol>
<li>coffee <li>
<li> tea </li>
</ol>
[11] HTML Block
 There are two types of block:
[a] Block-Level elements:
 A block-level element always starts on a new line
& takes up the full width available (stretches out
to the left & right as far as it can).
<div style=“background-color: pink; color: white;
padding:20px;”>
[b] Inline elements:
 An inline element does not start on a new line &
only takes up as much width as necessary. This is
an inline <span> element inside a paragraph.
<span>
<a>
<img>
[c] The div elements:
 The <div> element is a block-level element that is
often used as a container for other HTML
elements. The <div> element has no required
attributes, but style & class are common. When
used together with CSS, the <div> element can
be used to style blocks of content.
[12] HTML Tables
 E.g.
<table style=“width:100%”>
<tr>
<td> Raj </td>
<td> Chand </td>
</tr>
</table>
[B] HTML Attributes
 Attributes provide additional information about
HTML elements.
 All HTML elements can have attributes provide
additional information about an element.
 Attributes are always specified in the start tag.
 Attributes come in name/value pairs like:
name=“value”
[C] HTML Attributes
 Attributes provide additional information about
html elements.
 All HTML elements can have attributes provide
additional information about an element.
Attributes are always specified in the start tag.
[1] The Title Attributes
 HTML title is defines with <title> & the paragraph
are defined with the <p> tags
 E.g.
<!DOCTYPE html>
<html>
<head>
<title> Title Name </title>
</head>
</html
[2] The href Attribute
 HTML links are defined with the <a> tag. The link
address is specified in the href attribute.
 E.g.
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<a href=“http://www.fb.com/rajendra.chand.9865”>
This is my facebook page link </a>
[3] The Size Attributes
 HTML images are defined with the <img> tag. The
filename of the source (src), & the size of the image
(width & height) are all provided as attributes. E.g.
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<img src=“filename.jpeg” width=“100px”
height=“100px”/>
</body>
</html>
[4] Alt Attribute
 The alt attributes specifies an alternative text to be
used, when an image cannot be displayed. The value
of the attributes can be read by screen readers. E.g.
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<img src=“filename.jpeg” alt=“comment on photo”
width=“100px” height=“100px”/>
</body>
</html>
[5] Lang Attribute
 The lang attributes is the document language can
be declared in the <html> tag. The language is
declared in the lang attribute. Declaring a
language is important for accessibility
applications (screen readers) & search engines.
E.g
<!DOCTYPE html>
<html lang=“en-US”>
<head>
</head>
<body>
</body>
</html>
[6] Align Attribute
This attribute is used to give the alignment to the
text or image. When the text needs to put on
center, right , left then this attribute is used .e.g.
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<h1> <p align=“center”> Raj </p> </h1>
</body>
</html>
Html

More Related Content

What's hot (20)

CSS
CSSCSS
CSS
 
CSS
CSSCSS
CSS
 
Css Text Formatting
Css Text FormattingCss Text Formatting
Css Text Formatting
 
Html
HtmlHtml
Html
 
PHP - Introduction to Object Oriented Programming with PHP
PHP -  Introduction to  Object Oriented Programming with PHPPHP -  Introduction to  Object Oriented Programming with PHP
PHP - Introduction to Object Oriented Programming with PHP
 
Basic HTML
Basic HTMLBasic HTML
Basic HTML
 
css.ppt
css.pptcss.ppt
css.ppt
 
Css position
Css positionCss position
Css position
 
Css backgrounds
Css   backgroundsCss   backgrounds
Css backgrounds
 
Jquery
JqueryJquery
Jquery
 
CSS
CSSCSS
CSS
 
Html basics
Html basicsHtml basics
Html basics
 
Css
CssCss
Css
 
Html5
Html5 Html5
Html5
 
CSS for Beginners
CSS for BeginnersCSS for Beginners
CSS for Beginners
 
What is JavaScript? Edureka
What is JavaScript? EdurekaWhat is JavaScript? Edureka
What is JavaScript? Edureka
 
Php mysql ppt
Php mysql pptPhp mysql ppt
Php mysql ppt
 
Css3
Css3Css3
Css3
 
CSS notes
CSS notesCSS notes
CSS notes
 
HTML 5 Complete Reference
HTML 5 Complete ReferenceHTML 5 Complete Reference
HTML 5 Complete Reference
 

Similar to Html

Html & Html5 from scratch
Html & Html5 from scratchHtml & Html5 from scratch
Html & Html5 from scratchAhmad Al-ammar
 
HTML Training Part1
HTML Training Part1HTML Training Part1
HTML Training Part1than sare
 
Html tutorials by www.dmdiploma.com
Html tutorials by www.dmdiploma.comHtml tutorials by www.dmdiploma.com
Html tutorials by www.dmdiploma.comShwetaAggarwal56
 
HTML Basics 1 workshop
HTML Basics 1 workshopHTML Basics 1 workshop
HTML Basics 1 workshopJohn Allan
 
INTERNSHIP PROJECT PPT RAJ HZL.pdf
INTERNSHIP PROJECT PPT RAJ HZL.pdfINTERNSHIP PROJECT PPT RAJ HZL.pdf
INTERNSHIP PROJECT PPT RAJ HZL.pdfDineshKumar522328
 
HTML 5 Topic 2
HTML 5 Topic 2HTML 5 Topic 2
HTML 5 Topic 2Juvywen
 
HTML : INTRODUCTION TO WEB DESIGN Presentation
HTML : INTRODUCTION TO WEB DESIGN PresentationHTML : INTRODUCTION TO WEB DESIGN Presentation
HTML : INTRODUCTION TO WEB DESIGN Presentationsurajsutar467
 
Computer fundamentals-internet p2
Computer fundamentals-internet p2Computer fundamentals-internet p2
Computer fundamentals-internet p2Leo Mark Villar
 
Eye catching HTML BASICS tips: Learn easily
Eye catching HTML BASICS tips: Learn easilyEye catching HTML BASICS tips: Learn easily
Eye catching HTML BASICS tips: Learn easilyshabab shihan
 
Basic tags in html
Basic tags in htmlBasic tags in html
Basic tags in htmlRita Gokani
 
Web Development Basics: HOW TO in HTML
Web Development Basics: HOW TO in HTMLWeb Development Basics: HOW TO in HTML
Web Development Basics: HOW TO in HTMLDer Lo
 

Similar to Html (20)

HTML - part 1
HTML - part 1HTML - part 1
HTML - part 1
 
Introduction to Html
Introduction to HtmlIntroduction to Html
Introduction to Html
 
Html & Html5 from scratch
Html & Html5 from scratchHtml & Html5 from scratch
Html & Html5 from scratch
 
HTML Training Part1
HTML Training Part1HTML Training Part1
HTML Training Part1
 
Html tutorials by www.dmdiploma.com
Html tutorials by www.dmdiploma.comHtml tutorials by www.dmdiploma.com
Html tutorials by www.dmdiploma.com
 
HTML Basics 1 workshop
HTML Basics 1 workshopHTML Basics 1 workshop
HTML Basics 1 workshop
 
INTERNSHIP PROJECT PPT RAJ HZL.pdf
INTERNSHIP PROJECT PPT RAJ HZL.pdfINTERNSHIP PROJECT PPT RAJ HZL.pdf
INTERNSHIP PROJECT PPT RAJ HZL.pdf
 
Html introduction
Html introductionHtml introduction
Html introduction
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
 
Html
HtmlHtml
Html
 
HTML 5 Topic 2
HTML 5 Topic 2HTML 5 Topic 2
HTML 5 Topic 2
 
HTML : INTRODUCTION TO WEB DESIGN Presentation
HTML : INTRODUCTION TO WEB DESIGN PresentationHTML : INTRODUCTION TO WEB DESIGN Presentation
HTML : INTRODUCTION TO WEB DESIGN Presentation
 
Introduction to HTML.pptx
Introduction to HTML.pptxIntroduction to HTML.pptx
Introduction to HTML.pptx
 
Html basics
Html basicsHtml basics
Html basics
 
Computer fundamentals-internet p2
Computer fundamentals-internet p2Computer fundamentals-internet p2
Computer fundamentals-internet p2
 
Eye catching HTML BASICS tips: Learn easily
Eye catching HTML BASICS tips: Learn easilyEye catching HTML BASICS tips: Learn easily
Eye catching HTML BASICS tips: Learn easily
 
Basic tags in html
Basic tags in htmlBasic tags in html
Basic tags in html
 
Html Workshop
Html WorkshopHtml Workshop
Html Workshop
 
Intodcution to Html
Intodcution to HtmlIntodcution to Html
Intodcution to Html
 
Web Development Basics: HOW TO in HTML
Web Development Basics: HOW TO in HTMLWeb Development Basics: HOW TO in HTML
Web Development Basics: HOW TO in HTML
 

More from RajThakuri

Share Market.pptx
Share Market.pptxShare Market.pptx
Share Market.pptxRajThakuri
 
Statistical table
Statistical tableStatistical table
Statistical tableRajThakuri
 
All Computer shortcuts for beginners....
All Computer shortcuts for beginners....All Computer shortcuts for beginners....
All Computer shortcuts for beginners....RajThakuri
 
Pdf. learn html.....html_course_(basic___advance_)_for_7_days
Pdf. learn html.....html_course_(basic___advance_)_for_7_daysPdf. learn html.....html_course_(basic___advance_)_for_7_days
Pdf. learn html.....html_course_(basic___advance_)_for_7_daysRajThakuri
 
Programming language
Programming languageProgramming language
Programming languageRajThakuri
 
Operating system
Operating systemOperating system
Operating systemRajThakuri
 
Output devices
Output devicesOutput devices
Output devicesRajThakuri
 
Computer memory & Memory Storage Devices.
Computer memory & Memory Storage Devices.Computer memory & Memory Storage Devices.
Computer memory & Memory Storage Devices.RajThakuri
 
Artificial inteligence
Artificial inteligenceArtificial inteligence
Artificial inteligenceRajThakuri
 
Testing of hypotheses
Testing of hypothesesTesting of hypotheses
Testing of hypothesesRajThakuri
 
Formulas to measure_central_tendency_(mean,_median,_mode)
Formulas to measure_central_tendency_(mean,_median,_mode)Formulas to measure_central_tendency_(mean,_median,_mode)
Formulas to measure_central_tendency_(mean,_median,_mode)RajThakuri
 
Leadership, its styles_&_leadership_theories...
Leadership, its styles_&_leadership_theories...Leadership, its styles_&_leadership_theories...
Leadership, its styles_&_leadership_theories...RajThakuri
 
Role of managerial_economics_in_business_decision_making
Role of managerial_economics_in_business_decision_makingRole of managerial_economics_in_business_decision_making
Role of managerial_economics_in_business_decision_makingRajThakuri
 
Approaches of organizational_behavior
Approaches of organizational_behaviorApproaches of organizational_behavior
Approaches of organizational_behaviorRajThakuri
 
Vivo v17 pro Review
Vivo v17 pro ReviewVivo v17 pro Review
Vivo v17 pro ReviewRajThakuri
 

More from RajThakuri (20)

Share Market.pptx
Share Market.pptxShare Market.pptx
Share Market.pptx
 
Statistical table
Statistical tableStatistical table
Statistical table
 
All Computer shortcuts for beginners....
All Computer shortcuts for beginners....All Computer shortcuts for beginners....
All Computer shortcuts for beginners....
 
Pdf. learn html.....html_course_(basic___advance_)_for_7_days
Pdf. learn html.....html_course_(basic___advance_)_for_7_daysPdf. learn html.....html_course_(basic___advance_)_for_7_days
Pdf. learn html.....html_course_(basic___advance_)_for_7_days
 
Programming language
Programming languageProgramming language
Programming language
 
Networking
NetworkingNetworking
Networking
 
Software
SoftwareSoftware
Software
 
Operating system
Operating systemOperating system
Operating system
 
Number system
Number systemNumber system
Number system
 
Output devices
Output devicesOutput devices
Output devices
 
Input devices
Input devicesInput devices
Input devices
 
Internet
InternetInternet
Internet
 
Computer memory & Memory Storage Devices.
Computer memory & Memory Storage Devices.Computer memory & Memory Storage Devices.
Computer memory & Memory Storage Devices.
 
Artificial inteligence
Artificial inteligenceArtificial inteligence
Artificial inteligence
 
Testing of hypotheses
Testing of hypothesesTesting of hypotheses
Testing of hypotheses
 
Formulas to measure_central_tendency_(mean,_median,_mode)
Formulas to measure_central_tendency_(mean,_median,_mode)Formulas to measure_central_tendency_(mean,_median,_mode)
Formulas to measure_central_tendency_(mean,_median,_mode)
 
Leadership, its styles_&_leadership_theories...
Leadership, its styles_&_leadership_theories...Leadership, its styles_&_leadership_theories...
Leadership, its styles_&_leadership_theories...
 
Role of managerial_economics_in_business_decision_making
Role of managerial_economics_in_business_decision_makingRole of managerial_economics_in_business_decision_making
Role of managerial_economics_in_business_decision_making
 
Approaches of organizational_behavior
Approaches of organizational_behaviorApproaches of organizational_behavior
Approaches of organizational_behavior
 
Vivo v17 pro Review
Vivo v17 pro ReviewVivo v17 pro Review
Vivo v17 pro Review
 

Recently uploaded

Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 

Recently uploaded (20)

Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 

Html

  • 1. Hyper Text Markup Language HTML
  • 2. Introduction  It is a markup language for describing web documents (web pages). HTML stands for Hyper Text Markup Language. A markup language is a set of markup tags, html documents are described by HTML tags. Each HML tag describes different document content.  It is a set of markup symbols or codes inserted in a file intended for display on a world wide web (www) browser page. The markup tells the web browser how to display a web pages words & images for the user.
  • 3.  Each individual markup code is referred to as an element (but many people also refer to it as a tag).  Some elements come in pairs that indicate when some display effect is to begin & when it is to end.  HTML has  HTML Tags HTML attributes.
  • 4. Rules of HTML  The HTML documents, all html documents must start with a type declaration. <!DOCTYPE html>  The HTML documents itself begins with <html> & ends with </html>  The visible part of the HTML document is between <body> & </body>
  • 5. Simple Code Syntax of HTML <!DOCTYPE html> (Opening Tag) <html> (html tag) <head> (head tag) <title> title name </title> (title tag) </head> (head closed) <body> (body tag) <h1> heading </h1> (heading tag) </body> (body closed) </html> (html closed)
  • 6. [A] HTML tags  HTML tags are keywords (tag names) surrounded by angle brackets. E.g. <tag name> content </tag name>  HTML tags normally come in pairs like <p> & </p>. The first tag in a pair is the start tag, the second tag is the end tag. The end tag is written like start tag, but with a forward slash inserted before the tag name.  HTML tags are: Heading tag, paragraph tag, style tag, background tag, formatting tag, comment tag, links tag, images tag, list tag, block tag, div tag, table tag, head tag, layout tag, class tag etc.
  • 7. [1] HTML Head  The <head> element is a container for metadata (data about data). HTML metadata is data about the HTML document. Metadata is not displayed.  Metadata typically define document title, styles, links, scripts & other meta information. The following tags describe metadata : <title> <style> <meta> <link> <script> <base>
  • 8. [2] HTML Heading  Heading are defined with the <h1> to <h6> defines the least important heading. <h1> heading 1 </h1> <h2> heading 2 </h2> <h3> heading 3 </h3> <h4> heading 4 </h4> <h5> heading 5 </h5> <h6> heading 6 </h6>
  • 9. [3] HTML Paragraph  The html <p> element defines a paragraph. <p> paragraph> [4] HTML Styles  Setting the style of an HTML elements can be done with the style attribute. The HTML style has the following syntax: <style> </style>
  • 10. [5] HTML Background Color  The background color property defines the background color for an HTML element. E.g. <body bgcolor=“lightrey”> [6] HTML Formatting  HTML uses element like <b> = bold <i> = italic <u>= underline
  • 11. [7] HTML Comments  Comment tags <!......&> are used to insert comments in HTML. <! This is a comment> <! Remember to add more info here> [8] HTML Links  A hyperlink is a text or an image you can click on, & jump to another document. <a href=“URL”> link text</a> <a href=“http://www.fb.com/rajendra.chand.9865”> MY facebook Page </a>
  • 12. [9] HTML Images  In HTML, images are defined with the <img> tag. The <img> tag is empty, it contains attributes only, & does not have a closing tag. The src attribute specifies the URL (web address) of the image. The alt attribute specifies an alternate text for an image, if the image cannot be displayed. <img src=“URL” alt=“some-text”/> <img src=“filename.jpeg” alt=“about image” width=“100px” height=“100px” />
  • 13. [10] HTML List  There are two types of list: [a] Unordered HTML Lists:  An unordered list starts with the <ul> tag. Each list item starts with the <li> tag. The list items will be marked with bullets (small black circles) <ul> <li> coffee </li> <li> tea </li> </ul>
  • 14. [b] Ordered HTML Lists:  An ordered list starts with the <ol> tag. Each list item starts with the <li> tag. <ol> <li>coffee <li> <li> tea </li> </ol>
  • 15. [11] HTML Block  There are two types of block: [a] Block-Level elements:  A block-level element always starts on a new line & takes up the full width available (stretches out to the left & right as far as it can). <div style=“background-color: pink; color: white; padding:20px;”>
  • 16. [b] Inline elements:  An inline element does not start on a new line & only takes up as much width as necessary. This is an inline <span> element inside a paragraph. <span> <a> <img> [c] The div elements:  The <div> element is a block-level element that is often used as a container for other HTML elements. The <div> element has no required attributes, but style & class are common. When used together with CSS, the <div> element can be used to style blocks of content.
  • 17. [12] HTML Tables  E.g. <table style=“width:100%”> <tr> <td> Raj </td> <td> Chand </td> </tr> </table>
  • 18. [B] HTML Attributes  Attributes provide additional information about HTML elements.  All HTML elements can have attributes provide additional information about an element.  Attributes are always specified in the start tag.  Attributes come in name/value pairs like: name=“value”
  • 19. [C] HTML Attributes  Attributes provide additional information about html elements.  All HTML elements can have attributes provide additional information about an element. Attributes are always specified in the start tag.
  • 20. [1] The Title Attributes  HTML title is defines with <title> & the paragraph are defined with the <p> tags  E.g. <!DOCTYPE html> <html> <head> <title> Title Name </title> </head> </html
  • 21. [2] The href Attribute  HTML links are defined with the <a> tag. The link address is specified in the href attribute.  E.g. <!DOCTYPE html> <html> <head> </head> <body> <a href=“http://www.fb.com/rajendra.chand.9865”> This is my facebook page link </a>
  • 22. [3] The Size Attributes  HTML images are defined with the <img> tag. The filename of the source (src), & the size of the image (width & height) are all provided as attributes. E.g. <!DOCTYPE html> <html> <head> </head> <body> <img src=“filename.jpeg” width=“100px” height=“100px”/> </body> </html>
  • 23. [4] Alt Attribute  The alt attributes specifies an alternative text to be used, when an image cannot be displayed. The value of the attributes can be read by screen readers. E.g. <!DOCTYPE html> <html> <head> </head> <body> <img src=“filename.jpeg” alt=“comment on photo” width=“100px” height=“100px”/> </body> </html>
  • 24. [5] Lang Attribute  The lang attributes is the document language can be declared in the <html> tag. The language is declared in the lang attribute. Declaring a language is important for accessibility applications (screen readers) & search engines. E.g <!DOCTYPE html> <html lang=“en-US”> <head> </head> <body> </body> </html>
  • 25. [6] Align Attribute This attribute is used to give the alignment to the text or image. When the text needs to put on center, right , left then this attribute is used .e.g. <!DOCTYPE html> <html> <head> </head> <body> <h1> <p align=“center”> Raj </p> </h1> </body> </html>