際際滷

際際滷Share a Scribd company logo
HTML
                Lesson Four 
Tags That Affect The Appearance of your Text



               http://www.htmltutorials.ca/lesson4.htm
HEADER TAGS
 HEADER tags not only make your headings
  larger (or smaller), they also bold the headings
  at the same time.




                 http://www.htmltutorials.ca/lesson4.htm
HEADER TAGS
 There are only six HEADER tags and they range
  from H1 to H6.
   H1 produces the largest size heading and is called
    the "level 1 heading".
   H6 produces the smallest size heading and is
    called the "level 6 heading".




                 http://www.htmltutorials.ca/lesson4.htm
<HTML>
  <HEAD> <TITLE>HEADING LEVELS</TITLE> </HEAD>
      <BODY>
            <H1>THIS IS H1.</H1> THIS IS NORMAL SIZE.
            <H2>THIS IS H2.</H2> THIS IS NORMAL SIZE.
            <H3>THIS IS H3.</H3> THIS IS NORMAL SIZE.
            <H4>THIS IS H4.</H4> THIS IS NORMAL SIZE.
            <H5>THIS IS H5.</H5> THIS IS NORMAL SIZE.
            <H6>THIS IS H6.</H6> THIS IS NORMAL SIZE.<HR>
  </BODY>
     </HTML>




                    http://www.htmltutorials.ca/lesson4.htm
CENTERING TEXT
 The center command is: ALIGN="CENTER" (no
  spaces around the equal sign) and must be
  used in conjunction with a HEADER tag or the
  PARAGRAPH tag as in:
 <H2 ALIGN="CENTER">a heading goes
  here</H2>

 <P ALIGN="CENTER">a paragraph or block of
  text goes here</P>

               http://www.htmltutorials.ca/lesson4.htm
 ALIGN="CENTER" is also called a "command
  within a command". The first command
  (ALIGN), tells the browser to align something
  and the second command (CENTER) tells the
  browser to align it in the center.




                http://www.htmltutorials.ca/lesson4.htm
EMPHASIZING TEXT
 There are two ways to emphasize text that I
  want to introduce here.
 One is called ITALICS and the other is called
  BOLDFACE.




                 http://www.htmltutorials.ca/lesson4.htm
Example
<HTML>
     <HEAD>
              <TITLE>OUTDOOR LIVING - ONTARIO</TITLE>
      </HEAD>
  <BODY>
       <H2 ALIGN="CENTER">OUTDOOR LIVING IN ONTARIO</H2>
  <H3>POINTS OF INTEREST</H3><HR>
  <P>Northern Ontario:
  <P><STRONG>Five Mile Lake Provincial Park</STRONG>
  <P><EM>1.5 square miles.</EM> Camping, fishing
  (<EM>walleye, northern pike, brook trout</EM>), canoeing, self-
  guided nature trails.
  <P><STRONG><EM>Recommended</EM></STRONG> <HR>
  </BODY>
</HTML>
                      http://www.htmltutorials.ca/lesson4.htm
<EM> = EMPHASIZE TEXT
 <EM> is used to emphasize text.
 In most browsers, the meaning is italics.
 However, if the browser doesn't support italics
  or the viewer changes the meaning, the
  browser will pick the best alternative way to
  display the text on the screen.



                http://www.htmltutorials.ca/lesson4.htm
<STRONG> = STRONGLY EMPHASIZE TEXT

 <STRONG> is also a logical tag. It is used to
  strongly emphasize text.
 STRONG is identical to boldface
 If the viewer changes the meaning of
  STRONG, then the browser will pick the best
  alternative from the platform it is running on.



                 http://www.htmltutorials.ca/lesson4.htm
Using <B> for Boldface or <I> for Italics

 <B> is a "Physical Style Command
 A physical style command cannot be rendered
  differently.
 Therefore if a browser does not accept the
  <B> tag, then your text will simply not be
  bolded as the browser has no alternative way
  to display them on the screen.
 It also apply to <I>.

               http://www.htmltutorials.ca/lesson4.htm
Exercise
Figure out the codes for this exercise




              http://www.htmltutorials.ca/lesson4.htm

More Related Content

Similar to Lesson 4 tags that affect your text (20)

PDF
Session4
Denise Garofalo
PPTX
How to create a html webpage using notepad
SophieBarwick1999
PPTX
Html basics
php Roots
PPT
Html
Bhumika Ratan
PPTX
Web Designing
yarafghani
PPT
Html
charu gupta
PPTX
Presentation of Hyper Text Markup Language
JohnLagman3
PDF
html-150424090224-conversion-gate0.2.pdf
JohnLagman3
PPTX
Learn html in 30mins
Teja Swaroop Arukoti
PPTX
GFGC CHIKKABASUR(HTML)
GOVT FIRST GRADE COLLEGE CHIKKABASUR
PPTX
GFGC CHIKKABASUR(HTML)
GOVT FIRST GRADE COLLEGE CHIKKABASUR
PPTX
Part 1 -HTML- Basic_Spring 2023.pptx
Ahmad751599
PDF
Common html
Daniel Downs
PPTX
Html web designing enhancing text
Jesus Obenita Jr.
PPT
Unit 2 (html)
manochitra10
PPTX
HTML Introduction
Hameda Hurmat
PPT
introduction to html.ppt
ShubhamIngale28
PPTX
HTML-INTRO.pptx
SanjayKumarBahuguna1
PPT
PPT on Basic HTML Tags
VinitaPaliwal1
PPT
Introdution to web and html notes and practice.ppt
BursunaDebruzzRaphae
Session4
Denise Garofalo
How to create a html webpage using notepad
SophieBarwick1999
Html basics
php Roots
Web Designing
yarafghani
Presentation of Hyper Text Markup Language
JohnLagman3
html-150424090224-conversion-gate0.2.pdf
JohnLagman3
Learn html in 30mins
Teja Swaroop Arukoti
GFGC CHIKKABASUR(HTML)
GOVT FIRST GRADE COLLEGE CHIKKABASUR
GFGC CHIKKABASUR(HTML)
GOVT FIRST GRADE COLLEGE CHIKKABASUR
Part 1 -HTML- Basic_Spring 2023.pptx
Ahmad751599
Common html
Daniel Downs
Html web designing enhancing text
Jesus Obenita Jr.
Unit 2 (html)
manochitra10
HTML Introduction
Hameda Hurmat
introduction to html.ppt
ShubhamIngale28
HTML-INTRO.pptx
SanjayKumarBahuguna1
PPT on Basic HTML Tags
VinitaPaliwal1
Introdution to web and html notes and practice.ppt
BursunaDebruzzRaphae

More from patrick arellano (6)

PPTX
Lesson 6 creating links
patrick arellano
PPTX
Lesson 5 indenting and creating spaces
patrick arellano
PPTX
Lesson 3 understanding the basic tags updated
patrick arellano
PPTX
Lesson 1 introduction
patrick arellano
PPT
Markets Are Conversation
patrick arellano
PPT
Democritus
patrick arellano
Lesson 6 creating links
patrick arellano
Lesson 5 indenting and creating spaces
patrick arellano
Lesson 3 understanding the basic tags updated
patrick arellano
Lesson 1 introduction
patrick arellano
Markets Are Conversation
patrick arellano
Democritus
patrick arellano
Ad

Recently uploaded (20)

PDF
My Journey from CAD to BIM: A True Underdog Story
Safe Software
PDF
Automating the Geo-Referencing of Historic Aerial Photography in Flanders
Safe Software
PDF
Open Source Milvus Vector Database v 2.6
Zilliz
PDF
Scaling i.MX Applications Processors Native Edge AI with Discrete AI Accele...
Edge AI and Vision Alliance
PDF
How to Visualize the Spatio-Temporal Data Using CesiumJS
SANGHEE SHIN
PDF
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) 際際滷s
Ravi Tamada
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
PDF
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
PDF
Plugging AI into everything: Model Context Protocol Simplified.pdf
Abati Adewale
PDF
Enhancing Environmental Monitoring with Real-Time Data Integration: Leveragin...
Safe Software
PDF
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
yosra Saidani
PPTX
Simplifica la seguridad en la nube y la detecci坦n de amenazas con FortiCNAPP
Cristian Garcia G.
PPTX
Curietech AI in action - Accelerate MuleSoft development
shyamraj55
PDF
Unlocking FME Flows Potential: Architecture Design for Modern Enterprises
Safe Software
PDF
Darley - FIRST Copenhagen Lightning Talk (2025-06-26) Epochalypse 2038 - Time...
treyka
PPTX
01_Approach Cyber- DORA Incident Management.pptx
FinTech Belgium
PPSX
Usergroup - OutSystems Architecture.ppsx
Kurt Vandevelde
PDF
The Growing Value and Application of FME & GenAI
Safe Software
PDF
ArcGIS Utility Network Migration - The Hunter Water Story
Safe Software
PPTX
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
My Journey from CAD to BIM: A True Underdog Story
Safe Software
Automating the Geo-Referencing of Historic Aerial Photography in Flanders
Safe Software
Open Source Milvus Vector Database v 2.6
Zilliz
Scaling i.MX Applications Processors Native Edge AI with Discrete AI Accele...
Edge AI and Vision Alliance
How to Visualize the Spatio-Temporal Data Using CesiumJS
SANGHEE SHIN
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) 際際滷s
Ravi Tamada
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
Plugging AI into everything: Model Context Protocol Simplified.pdf
Abati Adewale
Enhancing Environmental Monitoring with Real-Time Data Integration: Leveragin...
Safe Software
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
yosra Saidani
Simplifica la seguridad en la nube y la detecci坦n de amenazas con FortiCNAPP
Cristian Garcia G.
Curietech AI in action - Accelerate MuleSoft development
shyamraj55
Unlocking FME Flows Potential: Architecture Design for Modern Enterprises
Safe Software
Darley - FIRST Copenhagen Lightning Talk (2025-06-26) Epochalypse 2038 - Time...
treyka
01_Approach Cyber- DORA Incident Management.pptx
FinTech Belgium
Usergroup - OutSystems Architecture.ppsx
Kurt Vandevelde
The Growing Value and Application of FME & GenAI
Safe Software
ArcGIS Utility Network Migration - The Hunter Water Story
Safe Software
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
Ad

Lesson 4 tags that affect your text

  • 1. HTML Lesson Four Tags That Affect The Appearance of your Text http://www.htmltutorials.ca/lesson4.htm
  • 2. HEADER TAGS HEADER tags not only make your headings larger (or smaller), they also bold the headings at the same time. http://www.htmltutorials.ca/lesson4.htm
  • 3. HEADER TAGS There are only six HEADER tags and they range from H1 to H6. H1 produces the largest size heading and is called the "level 1 heading". H6 produces the smallest size heading and is called the "level 6 heading". http://www.htmltutorials.ca/lesson4.htm
  • 4. <HTML> <HEAD> <TITLE>HEADING LEVELS</TITLE> </HEAD> <BODY> <H1>THIS IS H1.</H1> THIS IS NORMAL SIZE. <H2>THIS IS H2.</H2> THIS IS NORMAL SIZE. <H3>THIS IS H3.</H3> THIS IS NORMAL SIZE. <H4>THIS IS H4.</H4> THIS IS NORMAL SIZE. <H5>THIS IS H5.</H5> THIS IS NORMAL SIZE. <H6>THIS IS H6.</H6> THIS IS NORMAL SIZE.<HR> </BODY> </HTML> http://www.htmltutorials.ca/lesson4.htm
  • 5. CENTERING TEXT The center command is: ALIGN="CENTER" (no spaces around the equal sign) and must be used in conjunction with a HEADER tag or the PARAGRAPH tag as in: <H2 ALIGN="CENTER">a heading goes here</H2> <P ALIGN="CENTER">a paragraph or block of text goes here</P> http://www.htmltutorials.ca/lesson4.htm
  • 6. ALIGN="CENTER" is also called a "command within a command". The first command (ALIGN), tells the browser to align something and the second command (CENTER) tells the browser to align it in the center. http://www.htmltutorials.ca/lesson4.htm
  • 7. EMPHASIZING TEXT There are two ways to emphasize text that I want to introduce here. One is called ITALICS and the other is called BOLDFACE. http://www.htmltutorials.ca/lesson4.htm
  • 8. Example <HTML> <HEAD> <TITLE>OUTDOOR LIVING - ONTARIO</TITLE> </HEAD> <BODY> <H2 ALIGN="CENTER">OUTDOOR LIVING IN ONTARIO</H2> <H3>POINTS OF INTEREST</H3><HR> <P>Northern Ontario: <P><STRONG>Five Mile Lake Provincial Park</STRONG> <P><EM>1.5 square miles.</EM> Camping, fishing (<EM>walleye, northern pike, brook trout</EM>), canoeing, self- guided nature trails. <P><STRONG><EM>Recommended</EM></STRONG> <HR> </BODY> </HTML> http://www.htmltutorials.ca/lesson4.htm
  • 9. <EM> = EMPHASIZE TEXT <EM> is used to emphasize text. In most browsers, the meaning is italics. However, if the browser doesn't support italics or the viewer changes the meaning, the browser will pick the best alternative way to display the text on the screen. http://www.htmltutorials.ca/lesson4.htm
  • 10. <STRONG> = STRONGLY EMPHASIZE TEXT <STRONG> is also a logical tag. It is used to strongly emphasize text. STRONG is identical to boldface If the viewer changes the meaning of STRONG, then the browser will pick the best alternative from the platform it is running on. http://www.htmltutorials.ca/lesson4.htm
  • 11. Using <B> for Boldface or <I> for Italics <B> is a "Physical Style Command A physical style command cannot be rendered differently. Therefore if a browser does not accept the <B> tag, then your text will simply not be bolded as the browser has no alternative way to display them on the screen. It also apply to <I>. http://www.htmltutorials.ca/lesson4.htm
  • 12. Exercise Figure out the codes for this exercise http://www.htmltutorials.ca/lesson4.htm