SlideShare a Scribd company logo
Creating a Web Site




Image from: http://ataconsultingllc.com/
Creating Hypertext Links

                                         To link 3 pages, each
                                      document needs links to
                                            the other 2 pages
                                          Use the anchor tag
                                <a href=“pagename”>Page Name </a>


New Perspectives on HTML, XHTML, and Dynamic HTML, 4e
Specifying Folder Paths
         Absolute Path – specifies exact location




         Relative Path – specifies location relative to the
          page with the link




New Perspectives on HTML, XHTML, and Dynamic HTML, 4e
Linking Within Your Site

Within A Page    Between
                  Pages


       Linked Images
Linking Within A Page

                      Using <id>
• ID a section of your document:
 <a id=“sec1”>Section One</a>

• Link to the section:
 Go to <a href=“#sec1”>Section One</a>




                    NB: the # in a link means “stay on this page”
Linking Between Pages
        Use the anchor tag (<a>)




      Use a relative address since the
     linked-to page is within your site




  <a href=“newpage.html”>new page </a>
Linked Images
Insert an image, nest a link
  around the image

<a href=“linkedpage.html>
   <img src=“mypic.jpg” alt=“my picture” />
</a>
Linking to Resources on the „Net
                          URLs – Uniform Resource
                                  Locator


                         Use the absolute path name
                                 in your link




New Perspectives on HTML, XHTML, and Dynamic HTML, 4e
Linking to Email Addresses
Use “mailto” protocol:
    <a href=mailto:emccarron@bentley.edu>Email Me!</a>


Allows you to add information to the e-mail, including the subject
line and the text of the message

• mailto:address?header1=value1&header2=value2& ...
• mailto:ghayward@camshotscom?Subject=Test&Body=
  This%20is%20a%20test%20message

To preserve information about blank spaces, URLs use escape
characters
Working with Hypertext Attributes
       Open link in a new window:
                                                        Browser-dependent!
       <a href=“url”
       target=“_blank”>
       content</a>

           Creating a Tooltip:

           <a href=“url”
           title=“text”>
           content</a>



New Perspectives on HTML, XHTML, and Dynamic HTML, 4e
1. Inline Styles
Applied directly to an element using the style
attribute

Easy to interpret because they apply directly to
elements they affect

Cumbersome, have to make changes on lots of
pages if something like font face changes

   <p style="color:sienna;margin-left:20px">This is a
                     paragraph </p>
Using Color

3 Ways to Use Color

Color                Hexadecimal
        RGB triplets
Names                   value

More Related Content

What's hot

HTML5 - create hyperlinks and anchors
HTML5 - create hyperlinks and anchorsHTML5 - create hyperlinks and anchors
HTML5 - create hyperlinks and anchors
Grayzon Gonzales, LPT
 
Anchors!
Anchors!Anchors!
Anchors!
mrivas1114
 
LINKING IN HTML
LINKING IN HTMLLINKING IN HTML
LINKING IN HTML
Varsha Dubey
 
Hyperlink
HyperlinkHyperlink
Hyperlink
Bhavesh Solanki
 
Html images syntax
Html images syntaxHtml images syntax
Html images syntax
JayjZens
 
HTML Tags
HTML Tags HTML Tags
Hour 3
Hour 3Hour 3
Hour 3
dpd
 
Web design - Working with Links and Images
Web design - Working with Links and ImagesWeb design - Working with Links and Images
Web design - Working with Links and Images
Mustafa Kamel Mohammadi
 
Internet with HTML
Internet with HTMLInternet with HTML
Internet with HTML
umesh patil
 
HTML5 - My First Webpage
HTML5 - My First Webpage HTML5 - My First Webpage
HTML5 - My First Webpage
Grayzon Gonzales, LPT
 
Links - IntraSystem and Absolute
Links - IntraSystem and AbsoluteLinks - IntraSystem and Absolute
Links - IntraSystem and Absolute
nikkeisaurus
 
HTML5- Create divisions in a web page
HTML5- Create divisions in a web pageHTML5- Create divisions in a web page
HTML5- Create divisions in a web page
Grayzon Gonzales, LPT
 
How (& Why) To Redirect a URL
How (& Why) To Redirect a URLHow (& Why) To Redirect a URL
How (& Why) To Redirect a URL
SMA Marketing
 
Castro Chapter 6
Castro Chapter 6Castro Chapter 6
Castro Chapter 6
Jeff Byrnes
 
Mac os x
Mac os xMac os x
Mac os x
Trainingwestrom
 
Introduction to linking
Introduction to linkingIntroduction to linking
Introduction to linking
Shehzad Yaqoob
 
Html links
Html linksHtml links
Html links
Andz Bass
 
How to create rss feed
How to create rss feedHow to create rss feed
How to create rss feed
Tanuja Talekar
 
How to create rss feed for your website
How to create  rss feed  for  your  websiteHow to create  rss feed  for  your  website
How to create rss feed for your website
OM Maurya
 

What's hot (19)

HTML5 - create hyperlinks and anchors
HTML5 - create hyperlinks and anchorsHTML5 - create hyperlinks and anchors
HTML5 - create hyperlinks and anchors
 
Anchors!
Anchors!Anchors!
Anchors!
 
LINKING IN HTML
LINKING IN HTMLLINKING IN HTML
LINKING IN HTML
 
Hyperlink
HyperlinkHyperlink
Hyperlink
 
Html images syntax
Html images syntaxHtml images syntax
Html images syntax
 
HTML Tags
HTML Tags HTML Tags
HTML Tags
 
Hour 3
Hour 3Hour 3
Hour 3
 
Web design - Working with Links and Images
Web design - Working with Links and ImagesWeb design - Working with Links and Images
Web design - Working with Links and Images
 
Internet with HTML
Internet with HTMLInternet with HTML
Internet with HTML
 
HTML5 - My First Webpage
HTML5 - My First Webpage HTML5 - My First Webpage
HTML5 - My First Webpage
 
Links - IntraSystem and Absolute
Links - IntraSystem and AbsoluteLinks - IntraSystem and Absolute
Links - IntraSystem and Absolute
 
HTML5- Create divisions in a web page
HTML5- Create divisions in a web pageHTML5- Create divisions in a web page
HTML5- Create divisions in a web page
 
How (& Why) To Redirect a URL
How (& Why) To Redirect a URLHow (& Why) To Redirect a URL
How (& Why) To Redirect a URL
 
Castro Chapter 6
Castro Chapter 6Castro Chapter 6
Castro Chapter 6
 
Mac os x
Mac os xMac os x
Mac os x
 
Introduction to linking
Introduction to linkingIntroduction to linking
Introduction to linking
 
Html links
Html linksHtml links
Html links
 
How to create rss feed
How to create rss feedHow to create rss feed
How to create rss feed
 
How to create rss feed for your website
How to create  rss feed  for  your  websiteHow to create  rss feed  for  your  website
How to create rss feed for your website
 

Viewers also liked

Numerical disperison analysis of sympletic and adi scheme
Numerical disperison analysis of sympletic and adi schemeNumerical disperison analysis of sympletic and adi scheme
Numerical disperison analysis of sympletic and adi scheme
xingangahu
 
solar cell polarization independ
solar cell polarization independsolar cell polarization independ
solar cell polarization independ
xingangahu
 
Creativity class, assignment 2
Creativity class, assignment 2Creativity class, assignment 2
Creativity class, assignment 2
hyling
 
Christopher Gooshaw - Assignment 2
Christopher Gooshaw - Assignment 2Christopher Gooshaw - Assignment 2
Christopher Gooshaw - Assignment 2
longbeach37
 
The Six Highest Performing B2B Blog Post Formats
The Six Highest Performing B2B Blog Post FormatsThe Six Highest Performing B2B Blog Post Formats
The Six Highest Performing B2B Blog Post Formats
Barry Feldman
 
The Outcome Economy
The Outcome EconomyThe Outcome Economy
The Outcome Economy
Helge Tennø
 

Viewers also liked (7)

Numerical disperison analysis of sympletic and adi scheme
Numerical disperison analysis of sympletic and adi schemeNumerical disperison analysis of sympletic and adi scheme
Numerical disperison analysis of sympletic and adi scheme
 
Bread and cats
Bread and catsBread and cats
Bread and cats
 
solar cell polarization independ
solar cell polarization independsolar cell polarization independ
solar cell polarization independ
 
Creativity class, assignment 2
Creativity class, assignment 2Creativity class, assignment 2
Creativity class, assignment 2
 
Christopher Gooshaw - Assignment 2
Christopher Gooshaw - Assignment 2Christopher Gooshaw - Assignment 2
Christopher Gooshaw - Assignment 2
 
The Six Highest Performing B2B Blog Post Formats
The Six Highest Performing B2B Blog Post FormatsThe Six Highest Performing B2B Blog Post Formats
The Six Highest Performing B2B Blog Post Formats
 
The Outcome Economy
The Outcome EconomyThe Outcome Economy
The Outcome Economy
 

Similar to How to make a website

Html for beginners part II
Html for beginners part IIHtml for beginners part II
Html for beginners part II
Unaib Aslam
 
Web topic 7 html tags for links
Web topic 7  html tags for linksWeb topic 7  html tags for links
Web topic 7 html tags for links
CK Yang
 
Sending link
Sending linkSending link
Sending link
Mhayie Jimenez
 
Building Next Generation Websites Session4
Building Next Generation Websites Session4Building Next Generation Websites Session4
Building Next Generation Websites Session4
Muhammad Ehtisham Siddiqui
 
Session4
Session4Session4
Links - IntraPage
Links - IntraPageLinks - IntraPage
Links - IntraPage
nikkeisaurus
 
Creating Links
Creating LinksCreating Links
Creating Links
Bravocash
 
htmllinks-191023021435.pptxaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
htmllinks-191023021435.pptxaaaaaaaaaaaaaaaaaaaaaaaaaaaaahtmllinks-191023021435.pptxaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
htmllinks-191023021435.pptxaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
BhargaviGorde1
 
intro-to-html
intro-to-htmlintro-to-html
intro-to-html
Vivek Shah
 
Just Enough HTML for Fatwire
Just Enough HTML for FatwireJust Enough HTML for Fatwire
Just Enough HTML for Fatwire
Kenneth Quandt
 
Class 12
Class 12Class 12
Class 12
Jiyeon Lee
 
Ch 6: Links
Ch 6: LinksCh 6: Links
Ch 6: Links
Steve Guinan
 
HTML Foundations, pt 2
HTML Foundations, pt 2HTML Foundations, pt 2
HTML Foundations, pt 2
Shawn Calvert
 
Java script and html
Java script and htmlJava script and html
Java script and html
Malik M. Ali Shahid
 
Java script and html new
Java script and html newJava script and html new
Java script and html new
Malik M. Ali Shahid
 
ACTC 2013 Website Building Notes
ACTC 2013 Website Building NotesACTC 2013 Website Building Notes
ACTC 2013 Website Building Notes
John Bentley, II
 
Working with Links
Working with LinksWorking with Links
Working with Links
Nicole Ryan
 
Html
HtmlHtml
From-Tags-to-Pages-Navigating-HTML-for-Seamless-Web-Development.pptx
From-Tags-to-Pages-Navigating-HTML-for-Seamless-Web-Development.pptxFrom-Tags-to-Pages-Navigating-HTML-for-Seamless-Web-Development.pptx
From-Tags-to-Pages-Navigating-HTML-for-Seamless-Web-Development.pptx
Attitude Tally Academy
 
What is HTML Hyperlinks and HTML Images?
What is HTML Hyperlinks and HTML Images?What is HTML Hyperlinks and HTML Images?
What is HTML Hyperlinks and HTML Images?
AnujaJape2
 

Similar to How to make a website (20)

Html for beginners part II
Html for beginners part IIHtml for beginners part II
Html for beginners part II
 
Web topic 7 html tags for links
Web topic 7  html tags for linksWeb topic 7  html tags for links
Web topic 7 html tags for links
 
Sending link
Sending linkSending link
Sending link
 
Building Next Generation Websites Session4
Building Next Generation Websites Session4Building Next Generation Websites Session4
Building Next Generation Websites Session4
 
Session4
Session4Session4
Session4
 
Links - IntraPage
Links - IntraPageLinks - IntraPage
Links - IntraPage
 
Creating Links
Creating LinksCreating Links
Creating Links
 
htmllinks-191023021435.pptxaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
htmllinks-191023021435.pptxaaaaaaaaaaaaaaaaaaaaaaaaaaaaahtmllinks-191023021435.pptxaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
htmllinks-191023021435.pptxaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
intro-to-html
intro-to-htmlintro-to-html
intro-to-html
 
Just Enough HTML for Fatwire
Just Enough HTML for FatwireJust Enough HTML for Fatwire
Just Enough HTML for Fatwire
 
Class 12
Class 12Class 12
Class 12
 
Ch 6: Links
Ch 6: LinksCh 6: Links
Ch 6: Links
 
HTML Foundations, pt 2
HTML Foundations, pt 2HTML Foundations, pt 2
HTML Foundations, pt 2
 
Java script and html
Java script and htmlJava script and html
Java script and html
 
Java script and html new
Java script and html newJava script and html new
Java script and html new
 
ACTC 2013 Website Building Notes
ACTC 2013 Website Building NotesACTC 2013 Website Building Notes
ACTC 2013 Website Building Notes
 
Working with Links
Working with LinksWorking with Links
Working with Links
 
Html
HtmlHtml
Html
 
From-Tags-to-Pages-Navigating-HTML-for-Seamless-Web-Development.pptx
From-Tags-to-Pages-Navigating-HTML-for-Seamless-Web-Development.pptxFrom-Tags-to-Pages-Navigating-HTML-for-Seamless-Web-Development.pptx
From-Tags-to-Pages-Navigating-HTML-for-Seamless-Web-Development.pptx
 
What is HTML Hyperlinks and HTML Images?
What is HTML Hyperlinks and HTML Images?What is HTML Hyperlinks and HTML Images?
What is HTML Hyperlinks and HTML Images?
 

How to make a website

  • 1. Creating a Web Site Image from: http://ataconsultingllc.com/
  • 2. Creating Hypertext Links To link 3 pages, each document needs links to the other 2 pages Use the anchor tag <a href=“pagename”>Page Name </a> New Perspectives on HTML, XHTML, and Dynamic HTML, 4e
  • 3. Specifying Folder Paths  Absolute Path – specifies exact location  Relative Path – specifies location relative to the page with the link New Perspectives on HTML, XHTML, and Dynamic HTML, 4e
  • 4. Linking Within Your Site Within A Page Between Pages Linked Images
  • 5. Linking Within A Page Using <id> • ID a section of your document: <a id=“sec1”>Section One</a> • Link to the section: Go to <a href=“#sec1”>Section One</a> NB: the # in a link means “stay on this page”
  • 6. Linking Between Pages Use the anchor tag (<a>) Use a relative address since the linked-to page is within your site <a href=“newpage.html”>new page </a>
  • 7. Linked Images Insert an image, nest a link around the image <a href=“linkedpage.html> <img src=“mypic.jpg” alt=“my picture” /> </a>
  • 8. Linking to Resources on the „Net URLs – Uniform Resource Locator Use the absolute path name in your link New Perspectives on HTML, XHTML, and Dynamic HTML, 4e
  • 9. Linking to Email Addresses Use “mailto” protocol: <a href=mailto:emccarron@bentley.edu>Email Me!</a> Allows you to add information to the e-mail, including the subject line and the text of the message • mailto:address?header1=value1&header2=value2& ... • mailto:ghayward@camshotscom?Subject=Test&Body= This%20is%20a%20test%20message To preserve information about blank spaces, URLs use escape characters
  • 10. Working with Hypertext Attributes Open link in a new window: Browser-dependent! <a href=“url” target=“_blank”> content</a> Creating a Tooltip: <a href=“url” title=“text”> content</a> New Perspectives on HTML, XHTML, and Dynamic HTML, 4e
  • 11. 1. Inline Styles Applied directly to an element using the style attribute Easy to interpret because they apply directly to elements they affect Cumbersome, have to make changes on lots of pages if something like font face changes <p style="color:sienna;margin-left:20px">This is a paragraph </p>
  • 12. Using Color 3 Ways to Use Color Color Hexadecimal RGB triplets Names value