SlideShare a Scribd company logo
1 of 32
Creating Web Pages with Links, Images, and Formatted Text Project 03
Using Links  Unless coded in the <body> tag, the browser settings define the colors of text links.  To change the default, you must enter attributes and values.
Using Links  Internet Explorer defaults: Normal Link	=	blue Visited Link	=	purple Active Link	=green   <body link=”color”> <body vlink=”color”> <body alink=”color”>
Anchor Tags<a> </a> Used to create links in a Web page and must specify the page, file, or location to which it links Link to a Web site <a href=”URL”>linktext</a> a href:  hypertext reference URL:  Name of the URL or linked page or file linktext:  The clickable word or phrase that appears on the Web page
Anchor Tags<a> </a> Link for E-Mail The anchor tags <a> </a> are also used to create an e-mail link  <a href=”mailto:address@email.com”>linktext</a> mailto:  Uses the word mailto to indicate it is an email link followed by a colon and the e-mail address to which to send the message Linktext:  Clickable text is typically the e-mail address used in the e-mail link
Setting Link Targets (for links within the same page) To create links within the same Web page, the targets for the links need to be created first.   A target is a named location within a Web page to which a link can be created.
Setting Link Targets (for links within the same page) The <a> tag specifies a target (named location) in the same file.  Links to link targets are created using the <a> tag with the name attribute, using the form: <a name=”targetname”> </a> Name:  Uses the NAME attribute instead of the  HREF attribute Targetname:  Must be a unique name on that Web page Space:  No text displays;  the target is not intended to display as a clickable link
Adding Links to Link Targets Links to link targets are created using the <a> tag with the name attribute <a href=”#targetname”> </a> #:  Note the use of the pound sign # Targetname:  Name of the link target in that Web page
Adding an Image Link The <a></a> tags are used to set the image as a clickable element for the link <a href=”name of image”>   The end tag </a> will be added after the image tag (img)  
Format Text in Bold <b> </b> = physical style (specify a particular font change that is interpreted strictly by browsers)    <strong> </strong> = logical style (allow browsers to interpret the tag based on browser settings—relative to other text in a Web page) which browsers interpret as displaying the text in bold font
Format Text in Italics <em> </em>
Format Text with a Font Color Use the color attribute of the <font> tag <font color=” “>
Adding an Image with Wrapped Text Use the align attribute of the <img> tag   Images that are right-aligned wrap text to the left of the image Images that are left-aligned wrap text to the right of the image   <imgsrc=”name” align=”right”  alt=” “ width=” “ height=” “ />
Adding an Image with Wrapped Text You MUST enter a <br /> tag to end the text wrapping!!!!   To end right-aligned text wrap, <br clear=”right”/> To end left-aligned text wrap, <br clear=”left”/> To end both left and right, <br clear=”all”/>   The align attribute also supports values to align text with the top, middle or bottom of the image—vertically (P 102)
Using Horizontal and Vertical Spacing Using Horizontal and Vertical Spacing Use hspace (horizontal spacing) and vspace (vertical spacing) attributes to control the spacing between and around images <imgsrc=”name” align=”right”  alt=” “ width=” “ height=” “ hspace=”20” />
Thumbnail Images (smaller version of image) The HTML code to add a thumbnail image that links to a larger image  <a href=”largeimage.gif”> <imgsrc=”thumbnail.gif” /></a>
Background Image Must be added in the <body> tag <body background=” “>
Font Tag Attributes <font color= “either name or number of color”>		 <font color = “yellow”> </font> <font  face = “fontname”>			 <font name = “tahoma”> </font> <font  size=  “value”>   One to seven; three is the default	 <font size = “7”> </font>
Text Formatting Tabs Bold  <b></b>  <strong> </strong> Italics  <i> </i>   <em> </em> Underline  <u> </u>
Body Tag Attributes Background color				 <body bgcolor = “green”></body> Background image				 <body background = “name of image”> </body>
Image Tag Attributes Wrapped text		  <imgsrc= “name of image” align =”right”hspace= “20”vspace = “10” height= “200”  width = “215”  alt= “descriptive name of image” /> hspace = Horizontal Spacing   vspace = Vertical Spacing  <br clear= “right” /> = clear the wrapped text:
Anchor Tags<a>  </a>  href= hypertext reference—specifies the URL of the linked page or file <ahref= “http://www.nameofwebpage.com”> The text of the link is inserted here </a>
Link Targets Use the name attribute within the anchor tag <aname= “name of target”> </a>
Add Links to Link Targets <a href= “#name of target”>Text that will display </a>
Link Target Link Target for movement to the top of a page: 	<a name = “top”> </a> <a href = “#top” >To top</a>
Link to Another File <a href = “name of file”> Text that will display </a>  
Link to a Web Page <a href = “name of Web page--URL”>Text that will display </a>
Image Link <a href = “name of image”> </a>
E-mail link <a href= “mailto:angela_edel@southwesternsd.org”>Angela Edel’s Email address</a>
Body Tag Attributes Background color: <body bgcolor = “green”>   </body> Background image: <body background  = “tree.jpg”>   </body>  
Image Tag Attributes Right-aligned image with wrapped text:		 <imgsrc=“tree.jpg” align =“right” height=“225” width=“345” alt=“Oak Tree” hspace=“20” / >   Clear the right-aligned wrapped text: <br clear = “right” / >
Anchor Tags Name a link target: <a name = “top”>  </a> Add a link to that target: <a href = “#top”>  </a>  Link to another Web site: <a href = “http:google.com”>  </a> Link to a file:	 < a href = “project3.htm”>  </a>  E-mail link: <a href = mailto:angela_edel@southwesternsd.org>  </a>

More Related Content

What's hot

Seo tutorial
Seo tutorialSeo tutorial
Seo tutorial
prakash
 

What's hot (12)

SEO and PPC for translators: making yourself visible on the web with search e...
SEO and PPC for translators: making yourself visible on the web with search e...SEO and PPC for translators: making yourself visible on the web with search e...
SEO and PPC for translators: making yourself visible on the web with search e...
 
Advanced Content Analysis in Google Analytics
Advanced Content Analysis in Google AnalyticsAdvanced Content Analysis in Google Analytics
Advanced Content Analysis in Google Analytics
 
Advanced Content Analysis in Google Analytics
Advanced Content Analysis in Google AnalyticsAdvanced Content Analysis in Google Analytics
Advanced Content Analysis in Google Analytics
 
Google Search Operators: Power Tips
Google Search Operators: Power TipsGoogle Search Operators: Power Tips
Google Search Operators: Power Tips
 
Seo tutorial
Seo tutorialSeo tutorial
Seo tutorial
 
Meta tags
Meta tagsMeta tags
Meta tags
 
Seo oct
Seo octSeo oct
Seo oct
 
Meta tags
Meta tagsMeta tags
Meta tags
 
What is anchor text?
What is anchor text?What is anchor text?
What is anchor text?
 
Search engineland periodic-table-of-seo
Search engineland periodic-table-of-seoSearch engineland periodic-table-of-seo
Search engineland periodic-table-of-seo
 
Agile Storycarding
Agile StorycardingAgile Storycarding
Agile Storycarding
 
Google Advanced Search
Google Advanced SearchGoogle Advanced Search
Google Advanced Search
 

Viewers also liked (8)

Instrumentosmusicales 090518184701-phpapp01
Instrumentosmusicales 090518184701-phpapp01Instrumentosmusicales 090518184701-phpapp01
Instrumentosmusicales 090518184701-phpapp01
 
La bordadora del_hierro
La bordadora del_hierroLa bordadora del_hierro
La bordadora del_hierro
 
Que buena idea
Que buena ideaQue buena idea
Que buena idea
 
Project 02 Figures and Tables
Project 02 Figures and TablesProject 02 Figures and Tables
Project 02 Figures and Tables
 
Publicity art
Publicity artPublicity art
Publicity art
 
Presentation on pom
Presentation on pomPresentation on pom
Presentation on pom
 
You neededme
You neededmeYou neededme
You neededme
 
Fotos 2
Fotos 2Fotos 2
Fotos 2
 

Similar to Project 03 Creating Web Pages with Links, Images, and Formatted Text

1.3 creating links
1.3 creating links1.3 creating links
1.3 creating links
Bulldogs83
 
1.3 creating links
1.3 creating links1.3 creating links
1.3 creating links
Bulldogs83
 
Xhtml Part1
Xhtml Part1Xhtml Part1
Xhtml Part1
nleesite
 
Html Presentation Of Web Page Making
Html Presentation Of Web Page MakingHtml Presentation Of Web Page Making
Html Presentation Of Web Page Making
Sandeep Supal
 
2.1 adding images
2.1 adding images2.1 adding images
2.1 adding images
Bulldogs83
 

Similar to Project 03 Creating Web Pages with Links, Images, and Formatted Text (20)

HTML Attributes.pptx
HTML Attributes.pptxHTML Attributes.pptx
HTML Attributes.pptx
 
1.3 creating links
1.3 creating links1.3 creating links
1.3 creating links
 
1.3 creating links
1.3 creating links1.3 creating links
1.3 creating links
 
Xhtml Part1
Xhtml Part1Xhtml Part1
Xhtml Part1
 
Project 03 Creating Web Pages with Links, Images, and Formatted Text - Tags a...
Project 03 Creating Web Pages with Links, Images, and Formatted Text - Tags a...Project 03 Creating Web Pages with Links, Images, and Formatted Text - Tags a...
Project 03 Creating Web Pages with Links, Images, and Formatted Text - Tags a...
 
Stylesheets for Online Help - Scott DeLoach, ClickStart
Stylesheets for Online Help - Scott DeLoach, ClickStartStylesheets for Online Help - Scott DeLoach, ClickStart
Stylesheets for Online Help - Scott DeLoach, ClickStart
 
Computer application html
Computer application htmlComputer application html
Computer application html
 
Html 5
Html   5Html   5
Html 5
 
Module 2
Module 2Module 2
Module 2
 
HTML FOR BEGINNERS AND FOR PRACTICE .pdf
HTML FOR BEGINNERS AND FOR PRACTICE .pdfHTML FOR BEGINNERS AND FOR PRACTICE .pdf
HTML FOR BEGINNERS AND FOR PRACTICE .pdf
 
Html
HtmlHtml
Html
 
Lecture-2.pptx
Lecture-2.pptxLecture-2.pptx
Lecture-2.pptx
 
How To Create Personal Web Pages On My Web
How To Create Personal Web Pages On My WebHow To Create Personal Web Pages On My Web
How To Create Personal Web Pages On My Web
 
HTML5 - create hyperlinks and anchors
HTML5 - create hyperlinks and anchorsHTML5 - create hyperlinks and anchors
HTML5 - create hyperlinks and anchors
 
Html links
Html linksHtml links
Html links
 
Html Presentation Of Web Page Making
Html Presentation Of Web Page MakingHtml Presentation Of Web Page Making
Html Presentation Of Web Page Making
 
intro-to-html
intro-to-htmlintro-to-html
intro-to-html
 
Understanding THML
Understanding THMLUnderstanding THML
Understanding THML
 
2.1 adding images
2.1 adding images2.1 adding images
2.1 adding images
 
Links in Html
Links in HtmlLinks in Html
Links in Html
 

More from Angela Edel

Daily agenda unit 02 business communications
Daily agenda unit 02 business communicationsDaily agenda unit 02 business communications
Daily agenda unit 02 business communications
Angela Edel
 
Chapter 03 The Wide World of Sports and Entertainment
Chapter 03 The Wide World of Sports and EntertainmentChapter 03 The Wide World of Sports and Entertainment
Chapter 03 The Wide World of Sports and Entertainment
Angela Edel
 
SLM Chapter 03 The Wide World of Sports and Entertainment
SLM Chapter 03 The Wide World of Sports and EntertainmentSLM Chapter 03 The Wide World of Sports and Entertainment
SLM Chapter 03 The Wide World of Sports and Entertainment
Angela Edel
 
Daily agenda project 02 creating and editing a web page
Daily agenda project 02 creating and editing a web pageDaily agenda project 02 creating and editing a web page
Daily agenda project 02 creating and editing a web page
Angela Edel
 

More from Angela Edel (20)

Daily agenda unit 02 business communications
Daily agenda unit 02 business communicationsDaily agenda unit 02 business communications
Daily agenda unit 02 business communications
 
Daily Agenda Chapter 03 The Wide World of Sports and Entertainment
Daily Agenda Chapter 03 The Wide World of Sports and EntertainmentDaily Agenda Chapter 03 The Wide World of Sports and Entertainment
Daily Agenda Chapter 03 The Wide World of Sports and Entertainment
 
Daily Agenda Project 03 Creating Web Pages with Links, Images, and Formatted ...
Daily Agenda Project 03 Creating Web Pages with Links, Images, and Formatted ...Daily Agenda Project 03 Creating Web Pages with Links, Images, and Formatted ...
Daily Agenda Project 03 Creating Web Pages with Links, Images, and Formatted ...
 
Chapter 03 The Wide World of Sports and Entertainment
Chapter 03 The Wide World of Sports and EntertainmentChapter 03 The Wide World of Sports and Entertainment
Chapter 03 The Wide World of Sports and Entertainment
 
Sem chap 03
Sem chap 03Sem chap 03
Sem chap 03
 
SLM Chapter 03 The Wide World of Sports and Entertainment
SLM Chapter 03 The Wide World of Sports and EntertainmentSLM Chapter 03 The Wide World of Sports and Entertainment
SLM Chapter 03 The Wide World of Sports and Entertainment
 
Unit 02 Business Communications
Unit 02 Business CommunicationsUnit 02 Business Communications
Unit 02 Business Communications
 
Daily Agenda Unit 02 Business Communications
Daily Agenda Unit 02 Business CommunicationsDaily Agenda Unit 02 Business Communications
Daily Agenda Unit 02 Business Communications
 
SLM Unit 02 Business Communications
SLM Unit 02 Business CommunicationsSLM Unit 02 Business Communications
SLM Unit 02 Business Communications
 
SLM Project 03 Creating Web Pages with Links, Images, and Formatted Text
SLM Project 03 Creating Web Pages with Links, Images, and Formatted TextSLM Project 03 Creating Web Pages with Links, Images, and Formatted Text
SLM Project 03 Creating Web Pages with Links, Images, and Formatted Text
 
Daily Agenda Project 03 Creating Web Pages with Links, Images, and Formatted ...
Daily Agenda Project 03 Creating Web Pages with Links, Images, and Formatted ...Daily Agenda Project 03 Creating Web Pages with Links, Images, and Formatted ...
Daily Agenda Project 03 Creating Web Pages with Links, Images, and Formatted ...
 
Daily agenda project 02 creating and editing a web page
Daily agenda project 02 creating and editing a web pageDaily agenda project 02 creating and editing a web page
Daily agenda project 02 creating and editing a web page
 
Project 03 Outline
Project 03 OutlineProject 03 Outline
Project 03 Outline
 
Project 03 Student Data Files
Project 03 Student Data FilesProject 03 Student Data Files
Project 03 Student Data Files
 
Project 03 Creating Web Pages with Links, Images, and Formatted Text - Outlin...
Project 03 Creating Web Pages with Links, Images, and Formatted Text - Outlin...Project 03 Creating Web Pages with Links, Images, and Formatted Text - Outlin...
Project 03 Creating Web Pages with Links, Images, and Formatted Text - Outlin...
 
Project 03 Creating Web Pages with Links, Images, and Formatted Text
Project 03 Creating Web Pages with Links, Images, and Formatted TextProject 03 Creating Web Pages with Links, Images, and Formatted Text
Project 03 Creating Web Pages with Links, Images, and Formatted Text
 
Project 03 Creating Web Pages with Links, Images, and Formatted Text
Project 03 Creating Web Pages with Links, Images, and Formatted TextProject 03 Creating Web Pages with Links, Images, and Formatted Text
Project 03 Creating Web Pages with Links, Images, and Formatted Text
 
Project 02 Creating and Editing a Web Page - Tags and Attributes
Project 02 Creating and Editing a Web Page - Tags and AttributesProject 02 Creating and Editing a Web Page - Tags and Attributes
Project 02 Creating and Editing a Web Page - Tags and Attributes
 
Project 02 Creating and Editing a Web Page - Notes
Project 02 Creating and Editing a Web Page - NotesProject 02 Creating and Editing a Web Page - Notes
Project 02 Creating and Editing a Web Page - Notes
 
Project 02 Creating and Editing a Web Page
Project 02 Creating and Editing a Web PageProject 02 Creating and Editing a Web Page
Project 02 Creating and Editing a Web Page
 

Recently uploaded

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
QucHHunhnh
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Recently uploaded (20)

Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
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
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 

Project 03 Creating Web Pages with Links, Images, and Formatted Text

  • 1. Creating Web Pages with Links, Images, and Formatted Text Project 03
  • 2. Using Links Unless coded in the <body> tag, the browser settings define the colors of text links. To change the default, you must enter attributes and values.
  • 3. Using Links Internet Explorer defaults: Normal Link = blue Visited Link = purple Active Link =green   <body link=”color”> <body vlink=”color”> <body alink=”color”>
  • 4. Anchor Tags<a> </a> Used to create links in a Web page and must specify the page, file, or location to which it links Link to a Web site <a href=”URL”>linktext</a> a href: hypertext reference URL: Name of the URL or linked page or file linktext: The clickable word or phrase that appears on the Web page
  • 5. Anchor Tags<a> </a> Link for E-Mail The anchor tags <a> </a> are also used to create an e-mail link  <a href=”mailto:address@email.com”>linktext</a> mailto: Uses the word mailto to indicate it is an email link followed by a colon and the e-mail address to which to send the message Linktext: Clickable text is typically the e-mail address used in the e-mail link
  • 6. Setting Link Targets (for links within the same page) To create links within the same Web page, the targets for the links need to be created first.   A target is a named location within a Web page to which a link can be created.
  • 7. Setting Link Targets (for links within the same page) The <a> tag specifies a target (named location) in the same file. Links to link targets are created using the <a> tag with the name attribute, using the form: <a name=”targetname”> </a> Name: Uses the NAME attribute instead of the HREF attribute Targetname: Must be a unique name on that Web page Space: No text displays; the target is not intended to display as a clickable link
  • 8. Adding Links to Link Targets Links to link targets are created using the <a> tag with the name attribute <a href=”#targetname”> </a> #: Note the use of the pound sign # Targetname: Name of the link target in that Web page
  • 9. Adding an Image Link The <a></a> tags are used to set the image as a clickable element for the link <a href=”name of image”>   The end tag </a> will be added after the image tag (img)  
  • 10. Format Text in Bold <b> </b> = physical style (specify a particular font change that is interpreted strictly by browsers)   <strong> </strong> = logical style (allow browsers to interpret the tag based on browser settings—relative to other text in a Web page) which browsers interpret as displaying the text in bold font
  • 11. Format Text in Italics <em> </em>
  • 12. Format Text with a Font Color Use the color attribute of the <font> tag <font color=” “>
  • 13. Adding an Image with Wrapped Text Use the align attribute of the <img> tag   Images that are right-aligned wrap text to the left of the image Images that are left-aligned wrap text to the right of the image   <imgsrc=”name” align=”right” alt=” “ width=” “ height=” “ />
  • 14. Adding an Image with Wrapped Text You MUST enter a <br /> tag to end the text wrapping!!!!   To end right-aligned text wrap, <br clear=”right”/> To end left-aligned text wrap, <br clear=”left”/> To end both left and right, <br clear=”all”/>   The align attribute also supports values to align text with the top, middle or bottom of the image—vertically (P 102)
  • 15. Using Horizontal and Vertical Spacing Using Horizontal and Vertical Spacing Use hspace (horizontal spacing) and vspace (vertical spacing) attributes to control the spacing between and around images <imgsrc=”name” align=”right” alt=” “ width=” “ height=” “ hspace=”20” />
  • 16. Thumbnail Images (smaller version of image) The HTML code to add a thumbnail image that links to a larger image <a href=”largeimage.gif”> <imgsrc=”thumbnail.gif” /></a>
  • 17. Background Image Must be added in the <body> tag <body background=” “>
  • 18. Font Tag Attributes <font color= “either name or number of color”> <font color = “yellow”> </font> <font face = “fontname”> <font name = “tahoma”> </font> <font size= “value”> One to seven; three is the default <font size = “7”> </font>
  • 19. Text Formatting Tabs Bold <b></b> <strong> </strong> Italics <i> </i> <em> </em> Underline <u> </u>
  • 20. Body Tag Attributes Background color <body bgcolor = “green”></body> Background image <body background = “name of image”> </body>
  • 21. Image Tag Attributes Wrapped text  <imgsrc= “name of image” align =”right”hspace= “20”vspace = “10” height= “200” width = “215” alt= “descriptive name of image” /> hspace = Horizontal Spacing vspace = Vertical Spacing <br clear= “right” /> = clear the wrapped text:
  • 22. Anchor Tags<a> </a> href= hypertext reference—specifies the URL of the linked page or file <ahref= “http://www.nameofwebpage.com”> The text of the link is inserted here </a>
  • 23. Link Targets Use the name attribute within the anchor tag <aname= “name of target”> </a>
  • 24. Add Links to Link Targets <a href= “#name of target”>Text that will display </a>
  • 25. Link Target Link Target for movement to the top of a page: <a name = “top”> </a> <a href = “#top” >To top</a>
  • 26. Link to Another File <a href = “name of file”> Text that will display </a>  
  • 27. Link to a Web Page <a href = “name of Web page--URL”>Text that will display </a>
  • 28. Image Link <a href = “name of image”> </a>
  • 29. E-mail link <a href= “mailto:angela_edel@southwesternsd.org”>Angela Edel’s Email address</a>
  • 30. Body Tag Attributes Background color: <body bgcolor = “green”> </body> Background image: <body background = “tree.jpg”> </body>  
  • 31. Image Tag Attributes Right-aligned image with wrapped text: <imgsrc=“tree.jpg” align =“right” height=“225” width=“345” alt=“Oak Tree” hspace=“20” / >   Clear the right-aligned wrapped text: <br clear = “right” / >
  • 32. Anchor Tags Name a link target: <a name = “top”> </a> Add a link to that target: <a href = “#top”> </a>  Link to another Web site: <a href = “http:google.com”> </a> Link to a file: < a href = “project3.htm”> </a>  E-mail link: <a href = mailto:angela_edel@southwesternsd.org> </a>