SlideShare una empresa de Scribd logo
1 de 20
HTML
c
WEB PAGE STRUCTURING
HTML Code
• HTML file is saved with a .html extension
• Written in a text editor
• Can be directly executed on web browser
Tags
• Code is written within markup tags <>
• Paired and Unpaired Tags
– <>....</>
– <.../>
• Tags can be hierarchically placed within a tag
• Tag that starts first ends last
<html> <head> </head> </html>
DOCTYPE
• Before the code for page begins, need to
define what type of document it is.
<!DOCTYPE html>
HTML Tag
• <HTML> </HTML>
• Parent tag
• All other tags reside within opening and
closing of this tag
HEAD Tag
• Head tag contains the:
– Page Title
– Meta Information
– Links to external CSS
– Links to JS code
BODY Tag
• Body tag contains the:
– Content displayed on page
• Text
• Images
• Audio
• Video
• Links
Outline of HTML code
<!DOCTYPE html>
<HTML>
<HEAD>
</HEAD>
<BODY>
</BODY>
</HTML>
Head
<HEAD>
<title> My first web page </title>
</HEAD>
Head
<HEAD>
<title>My first web page</title>
<meta name="description" content="Online Education">
<meta name="description" content="Language teaching">
<meta name="keyword" content="learning english">
<meta name="author" content="harry">
</HEAD>
Meta Information
• Meta information is not visible on the web
page
• It is meant for the search engine to analyse
and understand the use of website
• To be search engine friendly, it is important to
specify this information
Body of web page
<body bgcolor="green" text="white">
This content will be displayed as plain text since
there is no formatting
</body>
Body tag can have attribute to specify
Bgcolor=background color of web page
Text=font color of web page
Background=background image for web page
Paragraph
<body>
<p>This content will be displayed as plain text since
there is no formatting</p>
</body>
<p> is a paragraph tag, which displays plain text in
the form of paragraph.
Bold and Italics
<body>
<p>This <b>content</b> will be displayed as plain
text since there is no <i>formatting</i></p>
</body>
<b></b>, <i></i> used for bold and italics
respectively.
Heading
<body>
<h1>Begin with heading</h1>
<p>This <b>content</b> will be displayed as plain text since
there is no <i>formatting</i></p>
</body>
Headings range from h1 to h6. H1 being the largest
and H6 being the smallest heading. They are
predefined set of formatting. As per SEO there
should be only one H1 tag and multiple H2, H3 tags
for search engine to analyse the content.
Anchor
<body>
<h1>Begin with heading</h1>
<p>This <b>content</b> will be displayed as plain text
since there is no
<a href="format.html"> formatting</a></p>
</body>
Anchor tag is used to create a hyper link between two
documents or content within the same document.
"a" is for anchor "href" is for reference to document
it needs to link to.
Image
<body>
<h1>Begin with heading</h1>
<p>This <b>content</b> will be displayed as plain text
since there is no formatting
<img src="d:imagesrose.jpg" alt="image of rose"
height="150" width="200"/>
</p>
</body>
<img/> tag is used for inserting an image. Attributes
src=path to the image file
Alt=alternate text if image is not displayed
Height, width= image dimensions
Break
<body>
<h1>Begin with heading</h1>
<p>This <b>content</b> will be displayed as plain
text since there is no formatting
<img src="d:imagesrose.jpg" alt="image of
rose" height="150" width="200"/>
<br> You can add more content here.
</p>
</body>
<br> tag is used for inserting a line break.
For more tutorials and courses please visit:
www.codewizacademy.com

Más contenido relacionado

La actualidad más candente

Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTMLMeghan Frisco
 
Lesson 1: Introduction to HTML
Lesson 1: Introduction to HTMLLesson 1: Introduction to HTML
Lesson 1: Introduction to HTMLOlivia Moran
 
Coding a Website with HTML
Coding a Website with HTMLCoding a Website with HTML
Coding a Website with HTMLwrhsbusiness
 
Web programming css
Web programming cssWeb programming css
Web programming cssUma mohan
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTMLAnn Alcid
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTMLyht4ever
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSSMario Hernandez
 
HTML_Slideshow1
HTML_Slideshow1HTML_Slideshow1
HTML_Slideshow1ldehn
 
Web fundamental concept and tags
Web fundamental concept and tags Web fundamental concept and tags
Web fundamental concept and tags shameen khan
 
Intro to HTML & CSS
Intro to HTML & CSSIntro to HTML & CSS
Intro to HTML & CSSSyed Sami
 

La actualidad más candente (20)

Basic HTML/CSS
Basic HTML/CSSBasic HTML/CSS
Basic HTML/CSS
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Css introduction
Css   introductionCss   introduction
Css introduction
 
Html introduction
Html introductionHtml introduction
Html introduction
 
HTML Lesson 1
HTML Lesson 1HTML Lesson 1
HTML Lesson 1
 
Lesson 1: Introduction to HTML
Lesson 1: Introduction to HTMLLesson 1: Introduction to HTML
Lesson 1: Introduction to HTML
 
Coding a Website with HTML
Coding a Website with HTMLCoding a Website with HTML
Coding a Website with HTML
 
Web programming css
Web programming cssWeb programming css
Web programming css
 
Css1
Css1Css1
Css1
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
 
Css Basics
Css BasicsCss Basics
Css Basics
 
Html and css
Html and cssHtml and css
Html and css
 
HTML_Slideshow1
HTML_Slideshow1HTML_Slideshow1
HTML_Slideshow1
 
uptu web technology unit 2 html
uptu web technology unit 2 htmluptu web technology unit 2 html
uptu web technology unit 2 html
 
Web fundamental concept and tags
Web fundamental concept and tags Web fundamental concept and tags
Web fundamental concept and tags
 
Intro to HTML & CSS
Intro to HTML & CSSIntro to HTML & CSS
Intro to HTML & CSS
 
Css inclusion
Css   inclusionCss   inclusion
Css inclusion
 
Html & CSS
Html & CSSHtml & CSS
Html & CSS
 

Similar a HTML- Hyper Text Markup Language

Similar a HTML- Hyper Text Markup Language (20)

Html1
Html1Html1
Html1
 
Hyper text markup Language
Hyper text markup LanguageHyper text markup Language
Hyper text markup Language
 
IT Unit III.pptx
IT Unit III.pptxIT Unit III.pptx
IT Unit III.pptx
 
Html and its tags
Html and its tagsHtml and its tags
Html and its tags
 
Html tags
Html tagsHtml tags
Html tags
 
HTML Head Section Elements
HTML Head Section ElementsHTML Head Section Elements
HTML Head Section Elements
 
html
htmlhtml
html
 
Html
HtmlHtml
Html
 
Ankit (221348051) BCA-Aiml.pptx
Ankit (221348051) BCA-Aiml.pptxAnkit (221348051) BCA-Aiml.pptx
Ankit (221348051) BCA-Aiml.pptx
 
Presentation of Hyper Text Markup Language
Presentation of Hyper Text Markup LanguagePresentation of Hyper Text Markup Language
Presentation of Hyper Text Markup Language
 
html-150424090224-conversion-gate0.2.pdf
html-150424090224-conversion-gate0.2.pdfhtml-150424090224-conversion-gate0.2.pdf
html-150424090224-conversion-gate0.2.pdf
 
Learning html. (Part- 1)
Learning html. (Part- 1)Learning html. (Part- 1)
Learning html. (Part- 1)
 
Week 4 Lecture Part 2
Week 4 Lecture Part 2Week 4 Lecture Part 2
Week 4 Lecture Part 2
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
HTML Tutorial
HTML TutorialHTML Tutorial
HTML Tutorial
 
H T M L Tutorial
H T M L TutorialH T M L Tutorial
H T M L Tutorial
 
HTML Introduction
HTML IntroductionHTML Introduction
HTML Introduction
 
Html coding
Html codingHtml coding
Html coding
 
HTML PPT.pdf
HTML PPT.pdfHTML PPT.pdf
HTML PPT.pdf
 
Html2
Html2Html2
Html2
 

Más de Codewizacademy

Más de Codewizacademy (20)

Implementing OODA Loop in online teaching
Implementing OODA Loop in online teachingImplementing OODA Loop in online teaching
Implementing OODA Loop in online teaching
 
Tie up loose ends
Tie up loose endsTie up loose ends
Tie up loose ends
 
Reflect
ReflectReflect
Reflect
 
Review
ReviewReview
Review
 
Revise
ReviseRevise
Revise
 
Organizing content of course
Organizing content of courseOrganizing content of course
Organizing content of course
 
Rules and policies for course
Rules and policies for courseRules and policies for course
Rules and policies for course
 
Content Creation
Content CreationContent Creation
Content Creation
 
Taxonomies
TaxonomiesTaxonomies
Taxonomies
 
Course outline
Course outlineCourse outline
Course outline
 
Course development
Course developmentCourse development
Course development
 
Looping
LoopingLooping
Looping
 
Conditional Constructs in Javascript
Conditional Constructs in JavascriptConditional Constructs in Javascript
Conditional Constructs in Javascript
 
Displaying message on web page in Javascript
Displaying message on web page in JavascriptDisplaying message on web page in Javascript
Displaying message on web page in Javascript
 
Storage in programming
Storage in programmingStorage in programming
Storage in programming
 
Programming fundamentals through javascript
Programming fundamentals through javascriptProgramming fundamentals through javascript
Programming fundamentals through javascript
 
Cyber Security
Cyber SecurityCyber Security
Cyber Security
 
Website Security
Website SecurityWebsite Security
Website Security
 
Website Cookies
Website CookiesWebsite Cookies
Website Cookies
 
GDPR- General Data Protection Regulation
GDPR- General Data Protection RegulationGDPR- General Data Protection Regulation
GDPR- General Data Protection Regulation
 

Último

Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
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
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 

Último (20)

Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
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
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 

HTML- Hyper Text Markup Language

  • 3. HTML Code • HTML file is saved with a .html extension • Written in a text editor • Can be directly executed on web browser
  • 4. Tags • Code is written within markup tags <> • Paired and Unpaired Tags – <>....</> – <.../> • Tags can be hierarchically placed within a tag • Tag that starts first ends last <html> <head> </head> </html>
  • 5. DOCTYPE • Before the code for page begins, need to define what type of document it is. <!DOCTYPE html>
  • 6. HTML Tag • <HTML> </HTML> • Parent tag • All other tags reside within opening and closing of this tag
  • 7. HEAD Tag • Head tag contains the: – Page Title – Meta Information – Links to external CSS – Links to JS code
  • 8. BODY Tag • Body tag contains the: – Content displayed on page • Text • Images • Audio • Video • Links
  • 9. Outline of HTML code <!DOCTYPE html> <HTML> <HEAD> </HEAD> <BODY> </BODY> </HTML>
  • 10. Head <HEAD> <title> My first web page </title> </HEAD>
  • 11. Head <HEAD> <title>My first web page</title> <meta name="description" content="Online Education"> <meta name="description" content="Language teaching"> <meta name="keyword" content="learning english"> <meta name="author" content="harry"> </HEAD>
  • 12. Meta Information • Meta information is not visible on the web page • It is meant for the search engine to analyse and understand the use of website • To be search engine friendly, it is important to specify this information
  • 13. Body of web page <body bgcolor="green" text="white"> This content will be displayed as plain text since there is no formatting </body> Body tag can have attribute to specify Bgcolor=background color of web page Text=font color of web page Background=background image for web page
  • 14. Paragraph <body> <p>This content will be displayed as plain text since there is no formatting</p> </body> <p> is a paragraph tag, which displays plain text in the form of paragraph.
  • 15. Bold and Italics <body> <p>This <b>content</b> will be displayed as plain text since there is no <i>formatting</i></p> </body> <b></b>, <i></i> used for bold and italics respectively.
  • 16. Heading <body> <h1>Begin with heading</h1> <p>This <b>content</b> will be displayed as plain text since there is no <i>formatting</i></p> </body> Headings range from h1 to h6. H1 being the largest and H6 being the smallest heading. They are predefined set of formatting. As per SEO there should be only one H1 tag and multiple H2, H3 tags for search engine to analyse the content.
  • 17. Anchor <body> <h1>Begin with heading</h1> <p>This <b>content</b> will be displayed as plain text since there is no <a href="format.html"> formatting</a></p> </body> Anchor tag is used to create a hyper link between two documents or content within the same document. "a" is for anchor "href" is for reference to document it needs to link to.
  • 18. Image <body> <h1>Begin with heading</h1> <p>This <b>content</b> will be displayed as plain text since there is no formatting <img src="d:imagesrose.jpg" alt="image of rose" height="150" width="200"/> </p> </body> <img/> tag is used for inserting an image. Attributes src=path to the image file Alt=alternate text if image is not displayed Height, width= image dimensions
  • 19. Break <body> <h1>Begin with heading</h1> <p>This <b>content</b> will be displayed as plain text since there is no formatting <img src="d:imagesrose.jpg" alt="image of rose" height="150" width="200"/> <br> You can add more content here. </p> </body> <br> tag is used for inserting a line break.
  • 20. For more tutorials and courses please visit: www.codewizacademy.com