SlideShare a Scribd company logo
1 of 24
WEB PROGRAMMING
Mrs.R.SABITHA .,M.Sc.,M.Phil.,
Assistant Professor,
Department of Computer Science(SF)
V.V.Vanniaperumal College for Women,
Virudhunagar.
TOPICS
• Introduction to HTML
• Heading Tags
• Formatting Tags
• Order and Unorder list creation
Introduction to HTML
• HTML is a language for describing web pages.
• HTML stands
for Hyper Text Markup Language
• HTML is not a programming language, it is
a markup language
• A markup language is a set of markup tags
• HTML uses markup tags to describe web
pages
HTML TERMINOLGY
Some commonly used terms in HTML are:
Tags: Tags are always written within angles brackets
e.g.<HTML> tag indicates the start of an HTML document .
HTML tag can be two types.
They are
 Paired Tags : A tag is said to be a paired tag if text is placed between a
tag and its companions tag.In paired tag ,the first tag is referred to as
opening tag and the second tag is referred to as closing tag.
 Unpaired Tags: An unpaired tag does not have a companion tag
.unpaired tag also known as singular or Stand-Alone tags
e.g:<br>,<hr> etc.
HOW TO CREATE AN HTML DOCUMENT
The essential tags that are required to create a HTML document are:
• <HTML>.............</HTML>
• <HEAD>.............</HEAD>
• <BODY>.............</BODY>
• <HTML>
• <HEAD>
• .............
• .............
• .............
• </HEAD>
• <BODY>
• .............
• .............
• .............
• </BODY>
• </HTML>
An HTML document has two distinct parts HEAD
and BODY
HEAD Tag <HEAD>
• HEAD tag comes after the HTML start tag. It
contains TITLE tag to give the document a title
that displays on the browsers title bar at the
top. The Format is:
<HEAD>
<TITLE>
Your title goes here
</TITLE>
</HEAD>
BODY Tag <BODY>
• The BODY tag contains all the text and graphics of the
document with all the HTML tags that are used for control
and formatting of the page.
The Format is:
<BODY>
Your Document goes here
</BODY>
An HTML document, web page can be created using a text
editor,
Notepad or WordPad. All the HTML documents should have the
extension .htm or html. It require a web browser like Internet
Explorer or Netscape Navigator/Communicator to view the
document.
Attributes used with <BODY>
• BGCOLOR: used to set the background color for the document
Example:
<BODY BGCOLOR="yellow">
Your document text goes here.
</BODY>
• TEXT: used to set the color of the text of the document Example:
<BODY TEXT="red">Introduction to HTML:: 77
Document text changed to red color
</BODY>
Document text changed to red color
Introduction to HTML:: 77
Follow the steps to create and
view in browser
Step-1: Open Notepad
Step-2: Enter the following lines of code:
<HTML>
<HEAD>
<TITLE>
My first Page
</TITLE>
</HEAD>
<BODY>
WELCOME TO MY FIRST WEB PAGE
</BODY>
</HTML>
Saving and Viewing a HTML
Document
• Step-3: Save the file as myfirstpage.html (go to
File-Save As give File name: myfirstpage.html-
choose save as type: All Files-click save)
• Step-4: Viewing document in web browser
(open Internet Explorer-click on File-Open-
Browse-select the file myfirstpage.html-click
open-click ok
Output
Formatting Tags
Boldface <B>: displays text in BOLD
Example: Welcome to the <B> Internet World </B>
Output: Welcome to the Internet World
Italics <I>: displays text in Italic
Example: Welcome to the <I> Internet World </I>
Output: Welcome to the Internet World
Formatting Tags
• Subscript <SUB>: displays text in Subscript
• Superscript <SUP>: displays text in Superscript
• Small <SMALL>: displays text in smaller font as
compared to normal font
• Big <BIG>: displays text in larger font as compared
to normal font
• Underline<U>specifies that the enclosed text be
underline
Example:<U> hello</U>
Output: hello
MARQUEE TAG
• This tag is used text horizontally across the
screen.it is mainly used to deliver a specific
message to the visitor or to scroll Ads on a
page.
Example:
• <marquee> hello world </marquee>
Attributes of Marquee tag
• Bgcolor : Sets the background color of the
marquee.
• Direction :Sets the direction of the marquee box
to either left-to-right, right-to-left, up-to-down
and down-to-up.
• Width: This sets how wide the marquee should
be.
• Loop: This sets how many times the marquee
should 'Loop' its text. Each trip counts as one
loop.
HEADING: <H1>.............<H6>tags
HTML has six header tags
<H1>, <H2>...........<H6> used to specify
section headings. Text with header tags is
displayed in larger and bolder fonts than
the normal body text by a web browser.
Every .header leaves a blank line above
and below it when displayed in browse.
Example: An HTML document, headings.html shows
the different section headings
<HTML>
<HEAD>
<TITLE>
Section Heading
</TITLE>
</HEAD>
<BODY>
<H1> This is Section Heading 1 </H1>
<H2> This is Section Heading 2 </H2>
<H3> This is Section Heading 3 </H3>
<H4> This is Section Heading 4 </H4>
<H5> This is Section Heading 5 </H5>
<H6> This is Section Heading 6 </H6>
</BODY>
</HTML>
Output of HTML document
This is Section Heading 1
This is Section Heading 2
This is Section Heading 3
This is Section Heading 4
This is Section Heading 5
This is Section Heading 6
List Creation
Unorder LIST
Lists – un-numbered
• Unnumbered Lists:
<UL>
<LI> apples </LI>
<LI> bananas </LI>
<LI> grapefruit </LI>
</UL>
• Unnumbered Lists with
different pointer types:
<UL type="square">
<LI> oranges </LI>
<LI> peaches </LI>
<LI> grapes </LI>
</UL>
type="square"
type="disc"
type="circle"
Output
 apples
 bananas
 grapefruit
List Creation
• Lists - numbered
• Numbered Lists:
<OL>
<LI> oranges </LI>
<LI> peaches </LI>
<LI> grapes </LI>
</OL>
Output
4. oranges
5. peaches
6. grapes
• Numbered Lists that
starts with 4:
<OL start="4">
<LI> oranges </LI>
<LI> peaches </LI>
<LI> grapes </LI>
</OL>
Order and Unorder List
Note :
• Use the start and type attributes to
customize your lists. It is possible to make
lists of lists, which is helpful for creating
some items, such as outlines.
THANK YOU

More Related Content

Similar to WEB PROGRAMMING- Web page creation using HTML Tags

introdution-to-html (1).ppt
introdution-to-html (1).pptintrodution-to-html (1).ppt
introdution-to-html (1).pptF3ZONE1
 
introdution-to-html.ppt NJBJGHGJHGGJGJG
introdution-to-html.ppt  NJBJGHGJHGGJGJGintrodution-to-html.ppt  NJBJGHGJHGGJGJG
introdution-to-html.ppt NJBJGHGJHGGJGJGAMRITHA16
 
introdution-to-html.ppt jahjdbsfhbdhdbjkgbe
introdution-to-html.ppt jahjdbsfhbdhdbjkgbeintrodution-to-html.ppt jahjdbsfhbdhdbjkgbe
introdution-to-html.ppt jahjdbsfhbdhdbjkgbeJamaicaCabrales
 
introdution-to-html.ppt
introdution-to-html.pptintrodution-to-html.ppt
introdution-to-html.pptGezahegnHailu1
 
introdution-to-html programming and dhtml
introdution-to-html programming and dhtmlintrodution-to-html programming and dhtml
introdution-to-html programming and dhtmlsanthosh sriprada
 
introduction to html.ppt
introduction to html.pptintroduction to html.ppt
introduction to html.pptVincentAcapen
 
introdution-to-html.ppt for bca ,bsc students
introdution-to-html.ppt for bca ,bsc studentsintrodution-to-html.ppt for bca ,bsc students
introdution-to-html.ppt for bca ,bsc studentsMaheshMutnale1
 
introdution-to-html-introdution-to-html.ppt
introdution-to-html-introdution-to-html.pptintrodution-to-html-introdution-to-html.ppt
introdution-to-html-introdution-to-html.pptmarkgilvinson
 
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 .pptubaidullah75790
 
introdution-to-html_jayarao27_11_22.pptx
introdution-to-html_jayarao27_11_22.pptxintrodution-to-html_jayarao27_11_22.pptx
introdution-to-html_jayarao27_11_22.pptxjayarao21
 
introdution-to-html.pptx
introdution-to-html.pptxintrodution-to-html.pptx
introdution-to-html.pptxdatapro2
 
introdution-to-html[1].ppt
introdution-to-html[1].pptintrodution-to-html[1].ppt
introdution-to-html[1].pptssuserec53e73
 
introdution-to-html (1).ppt
introdution-to-html (1).pptintrodution-to-html (1).ppt
introdution-to-html (1).pptMarktero2
 
HYPER TEXT MARKUP LANGUAGE BASIC LESSONS
HYPER TEXT MARKUP LANGUAGE BASIC LESSONSHYPER TEXT MARKUP LANGUAGE BASIC LESSONS
HYPER TEXT MARKUP LANGUAGE BASIC LESSONSdivyajohnisg
 
Introduction to HTML Communication Skills
Introduction to HTML Communication SkillsIntroduction to HTML Communication Skills
Introduction to HTML Communication SkillsGraceChokoli1
 
Lecture 2 introduction to html basics
Lecture 2 introduction to html basicsLecture 2 introduction to html basics
Lecture 2 introduction to html basicsAliMUSSA3
 
Web fundamental concept and tags
Web fundamental concept and tags Web fundamental concept and tags
Web fundamental concept and tags shameen khan
 

Similar to WEB PROGRAMMING- Web page creation using HTML Tags (20)

introdution-to-html (1).ppt
introdution-to-html (1).pptintrodution-to-html (1).ppt
introdution-to-html (1).ppt
 
introdution-to-html.ppt NJBJGHGJHGGJGJG
introdution-to-html.ppt  NJBJGHGJHGGJGJGintrodution-to-html.ppt  NJBJGHGJHGGJGJG
introdution-to-html.ppt NJBJGHGJHGGJGJG
 
html.pptx
html.pptxhtml.pptx
html.pptx
 
introdution-to-html.ppt jahjdbsfhbdhdbjkgbe
introdution-to-html.ppt jahjdbsfhbdhdbjkgbeintrodution-to-html.ppt jahjdbsfhbdhdbjkgbe
introdution-to-html.ppt jahjdbsfhbdhdbjkgbe
 
introdution-to-html.ppt
introdution-to-html.pptintrodution-to-html.ppt
introdution-to-html.ppt
 
introdution-to-html programming and dhtml
introdution-to-html programming and dhtmlintrodution-to-html programming and dhtml
introdution-to-html programming and dhtml
 
introduction to html.ppt
introduction to html.pptintroduction to html.ppt
introduction to html.ppt
 
introdution-to-html.ppt for bca ,bsc students
introdution-to-html.ppt for bca ,bsc studentsintrodution-to-html.ppt for bca ,bsc students
introdution-to-html.ppt for bca ,bsc students
 
introdution-to-html-introdution-to-html.ppt
introdution-to-html-introdution-to-html.pptintrodution-to-html-introdution-to-html.ppt
introdution-to-html-introdution-to-html.ppt
 
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
 
introdution-to-html_jayarao27_11_22.pptx
introdution-to-html_jayarao27_11_22.pptxintrodution-to-html_jayarao27_11_22.pptx
introdution-to-html_jayarao27_11_22.pptx
 
introdution-to-html.pptx
introdution-to-html.pptxintrodution-to-html.pptx
introdution-to-html.pptx
 
introdution-to-html[1].ppt
introdution-to-html[1].pptintrodution-to-html[1].ppt
introdution-to-html[1].ppt
 
introdution-to-html (1).ppt
introdution-to-html (1).pptintrodution-to-html (1).ppt
introdution-to-html (1).ppt
 
HTML & CSS.ppt
HTML & CSS.pptHTML & CSS.ppt
HTML & CSS.ppt
 
HYPER TEXT MARKUP LANGUAGE BASIC LESSONS
HYPER TEXT MARKUP LANGUAGE BASIC LESSONSHYPER TEXT MARKUP LANGUAGE BASIC LESSONS
HYPER TEXT MARKUP LANGUAGE BASIC LESSONS
 
introdution-to-html.ppt
introdution-to-html.pptintrodution-to-html.ppt
introdution-to-html.ppt
 
Introduction to HTML Communication Skills
Introduction to HTML Communication SkillsIntroduction to HTML Communication Skills
Introduction to HTML Communication Skills
 
Lecture 2 introduction to html basics
Lecture 2 introduction to html basicsLecture 2 introduction to html basics
Lecture 2 introduction to html basics
 
Web fundamental concept and tags
Web fundamental concept and tags Web fundamental concept and tags
Web fundamental concept and tags
 

Recently uploaded

18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel 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
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
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
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
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
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 

Recently uploaded (20)

18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel 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
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
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)
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
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
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
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
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 

WEB PROGRAMMING- Web page creation using HTML Tags

  • 1. WEB PROGRAMMING Mrs.R.SABITHA .,M.Sc.,M.Phil., Assistant Professor, Department of Computer Science(SF) V.V.Vanniaperumal College for Women, Virudhunagar.
  • 2. TOPICS • Introduction to HTML • Heading Tags • Formatting Tags • Order and Unorder list creation
  • 3. Introduction to HTML • HTML is a language for describing web pages. • HTML stands for Hyper Text Markup Language • HTML is not a programming language, it is a markup language • A markup language is a set of markup tags • HTML uses markup tags to describe web pages
  • 4. HTML TERMINOLGY Some commonly used terms in HTML are: Tags: Tags are always written within angles brackets e.g.<HTML> tag indicates the start of an HTML document . HTML tag can be two types. They are  Paired Tags : A tag is said to be a paired tag if text is placed between a tag and its companions tag.In paired tag ,the first tag is referred to as opening tag and the second tag is referred to as closing tag.  Unpaired Tags: An unpaired tag does not have a companion tag .unpaired tag also known as singular or Stand-Alone tags e.g:<br>,<hr> etc.
  • 5. HOW TO CREATE AN HTML DOCUMENT The essential tags that are required to create a HTML document are: • <HTML>.............</HTML> • <HEAD>.............</HEAD> • <BODY>.............</BODY>
  • 6. • <HTML> • <HEAD> • ............. • ............. • ............. • </HEAD> • <BODY> • ............. • ............. • ............. • </BODY> • </HTML> An HTML document has two distinct parts HEAD and BODY
  • 7. HEAD Tag <HEAD> • HEAD tag comes after the HTML start tag. It contains TITLE tag to give the document a title that displays on the browsers title bar at the top. The Format is: <HEAD> <TITLE> Your title goes here </TITLE> </HEAD>
  • 8. BODY Tag <BODY> • The BODY tag contains all the text and graphics of the document with all the HTML tags that are used for control and formatting of the page. The Format is: <BODY> Your Document goes here </BODY> An HTML document, web page can be created using a text editor, Notepad or WordPad. All the HTML documents should have the extension .htm or html. It require a web browser like Internet Explorer or Netscape Navigator/Communicator to view the document.
  • 9. Attributes used with <BODY> • BGCOLOR: used to set the background color for the document Example: <BODY BGCOLOR="yellow"> Your document text goes here. </BODY> • TEXT: used to set the color of the text of the document Example: <BODY TEXT="red">Introduction to HTML:: 77 Document text changed to red color </BODY> Document text changed to red color Introduction to HTML:: 77
  • 10. Follow the steps to create and view in browser Step-1: Open Notepad Step-2: Enter the following lines of code: <HTML> <HEAD> <TITLE> My first Page </TITLE> </HEAD> <BODY> WELCOME TO MY FIRST WEB PAGE </BODY> </HTML>
  • 11. Saving and Viewing a HTML Document • Step-3: Save the file as myfirstpage.html (go to File-Save As give File name: myfirstpage.html- choose save as type: All Files-click save) • Step-4: Viewing document in web browser (open Internet Explorer-click on File-Open- Browse-select the file myfirstpage.html-click open-click ok
  • 13. Formatting Tags Boldface <B>: displays text in BOLD Example: Welcome to the <B> Internet World </B> Output: Welcome to the Internet World Italics <I>: displays text in Italic Example: Welcome to the <I> Internet World </I> Output: Welcome to the Internet World
  • 14. Formatting Tags • Subscript <SUB>: displays text in Subscript • Superscript <SUP>: displays text in Superscript • Small <SMALL>: displays text in smaller font as compared to normal font • Big <BIG>: displays text in larger font as compared to normal font • Underline<U>specifies that the enclosed text be underline Example:<U> hello</U> Output: hello
  • 15. MARQUEE TAG • This tag is used text horizontally across the screen.it is mainly used to deliver a specific message to the visitor or to scroll Ads on a page. Example: • <marquee> hello world </marquee>
  • 16. Attributes of Marquee tag • Bgcolor : Sets the background color of the marquee. • Direction :Sets the direction of the marquee box to either left-to-right, right-to-left, up-to-down and down-to-up. • Width: This sets how wide the marquee should be. • Loop: This sets how many times the marquee should 'Loop' its text. Each trip counts as one loop.
  • 17. HEADING: <H1>.............<H6>tags HTML has six header tags <H1>, <H2>...........<H6> used to specify section headings. Text with header tags is displayed in larger and bolder fonts than the normal body text by a web browser. Every .header leaves a blank line above and below it when displayed in browse.
  • 18. Example: An HTML document, headings.html shows the different section headings <HTML> <HEAD> <TITLE> Section Heading </TITLE> </HEAD> <BODY> <H1> This is Section Heading 1 </H1> <H2> This is Section Heading 2 </H2> <H3> This is Section Heading 3 </H3> <H4> This is Section Heading 4 </H4> <H5> This is Section Heading 5 </H5> <H6> This is Section Heading 6 </H6> </BODY> </HTML>
  • 19. Output of HTML document This is Section Heading 1 This is Section Heading 2 This is Section Heading 3 This is Section Heading 4 This is Section Heading 5 This is Section Heading 6
  • 20. List Creation Unorder LIST Lists – un-numbered • Unnumbered Lists: <UL> <LI> apples </LI> <LI> bananas </LI> <LI> grapefruit </LI> </UL> • Unnumbered Lists with different pointer types: <UL type="square"> <LI> oranges </LI> <LI> peaches </LI> <LI> grapes </LI> </UL> type="square" type="disc" type="circle"
  • 22. List Creation • Lists - numbered • Numbered Lists: <OL> <LI> oranges </LI> <LI> peaches </LI> <LI> grapes </LI> </OL> Output 4. oranges 5. peaches 6. grapes • Numbered Lists that starts with 4: <OL start="4"> <LI> oranges </LI> <LI> peaches </LI> <LI> grapes </LI> </OL>
  • 23. Order and Unorder List Note : • Use the start and type attributes to customize your lists. It is possible to make lists of lists, which is helpful for creating some items, such as outlines.