SlideShare a Scribd company logo
1 of 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

More Related Content

What's hot

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
 

What's hot (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 to HTML- Hyper Text Markup Language

Similar to 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
 

More from Codewizacademy

More from 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
 

Recently uploaded

Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 

Recently uploaded (20)

Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 

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