SlideShare a Scribd company logo
1 of 21
1
Basic HTML Workshop
LIS Web Team
Spring 2007
2
What is HTML?
 Stands for Hyper Text Markup Language
 Computer language used to create web
pages
 HTML file = text file containing markup tags
such <p>
 Tags tell Web browser how to display a page
 Can have either *.htm or *.html file extension
3
HTML Elements
 Tags are the elements that create the
components of a page
 Tags surrounded by angle brackets < >
 Usually come in pairs
 Example: Start tag <p> and end tag
</p>
 Stuff between is called “element content”
 Tags are not case sensitive
 New standard is to use lower case
4
XHTML
 Lower case for tags = new standard
 Preparing for next generation of HTML called
XHTML
5
Your created HTML document
<html>
<head>
<title> …document title… </title>
</head>
<body>
…your page content…
</body>
</html>
6
Page Components
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-
transitional.dtd">
 First line of code
 Declaration of version of HTML
 <html>…</html>
 Container for the document
 <head>…</head>
 <title> Title of page </title>
 <body>…</body>
 Content of page
<html>
<head>
<title> …document
title… </title>
</head>
<body>
…your page
content…
</body>
</html>
7
8
Basic Tags
 Headings
 <h1>…</h1> to <h6>…</h6>
 Like in Word
 See example
 Paragraph
 <p>… </p>
 Inserts a line space before and after a paragraph
 See example
http://library.manoa.hawaii.edu/about/exhibits/index.html
9
Example of use of Heading
10
Paragraph example
11
Link Tag
 Link
 Anchor tag <a>…</a>
 3 kinds
 Link to page in same folder
 Link to page in different folder
 Link to outside webpage on the Internet.
12
Example of Anchor Tag
<a href="http://www.hawaii.edu/slis">Go to the LIS home page</a>
address text in page
 2 components
 Address
 Text or description – this is what you see
on the page
13
Image Source Tag
 Empty tag – no closing tag
 Components of Img tag
<img src="url“ alt = “description of image” />
 url = points to location of the image file
 alt = describes image for screen readers
14
Specify file location
 Same folder: “pic.gif”
 Document-relative link
 Look for image in same folder
 Different folder named images:
“/images/pic.gif”
15
Division Tag
 <div>…</div>
 Division or section of document
 Use to group elements to apply formatting or
style
 Example: all text within div tag will be fuschia
<div style="color: #FF00FF">
<h1> Title of section</h1>
<p> bla bla bla bla </p>
</div>
16
17
Examples of use of Links
18
Exercise
 Add a paragraph
 Add some links
 Add an image
 Create 3 divisions
19
Your session1 HTML document
<html>
<head>
<title> …document title… </title>
</head>
<body>
…your page content…
</body>
</html>
20
End Product
 <html>
 <head>
 <title>Caitlin’s Page</title>
 </head>
 <body>
 <div>
 <a href="index.html>Home</a><br />
 <a href="courses.html">Courses</a><br />
 <a href="personal.html">Personal</a><br />
 </div>
 <p>Hello my name is Caitlin Nelson and I am writing about myself. Contact
info:
 <a href="http://www.hawaii.edu/slis/webteam">Web Team</a>

 <div>
 <img src="palmtree.jpg"alt=”a picture of a palm tree”/>
 </div>
 </div>
 </body>
 </html>
21
Next Mission
 Choose colors for your page
 Text color
 Link color
 Background color
 Choose font size
 Type of font
 Font size

More Related Content

Similar to 07sp.wksp2_basicHTML.ppt

3 1-html-fundamentals-110302100520-phpapp02
3 1-html-fundamentals-110302100520-phpapp023 1-html-fundamentals-110302100520-phpapp02
3 1-html-fundamentals-110302100520-phpapp02Aditya Varma
 
Html (hypertext markup language)
Html (hypertext markup language)Html (hypertext markup language)
Html (hypertext markup language)Anuj Singh Rajput
 
4. html css-java script-basics
4. html css-java script-basics4. html css-java script-basics
4. html css-java script-basicsNikita Garg
 
4. html css-java script-basics
4. html css-java script-basics4. html css-java script-basics
4. html css-java script-basicsxu fag
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAAiman Hud
 
4. html css-java script-basics
4. html css-java script-basics4. html css-java script-basics
4. html css-java script-basicsMinea Chem
 
Html css java script basics All about you need
Html css java script basics All about you needHtml css java script basics All about you need
Html css java script basics All about you needDipen Parmar
 
HTML (Basic to Advance)
HTML (Basic to Advance)HTML (Basic to Advance)
HTML (Basic to Advance)Coder Tech
 
Html update1(30 8-2009)
Html update1(30 8-2009)Html update1(30 8-2009)
Html update1(30 8-2009)himankgupta31
 
HTML web design_ an introduction to design
HTML web design_ an introduction to designHTML web design_ an introduction to design
HTML web design_ an introduction to designSureshSingh142
 

Similar to 07sp.wksp2_basicHTML.ppt (20)

HTML Fundamentals
HTML FundamentalsHTML Fundamentals
HTML Fundamentals
 
3 1-html-fundamentals-110302100520-phpapp02
3 1-html-fundamentals-110302100520-phpapp023 1-html-fundamentals-110302100520-phpapp02
3 1-html-fundamentals-110302100520-phpapp02
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
 
Html (hypertext markup language)
Html (hypertext markup language)Html (hypertext markup language)
Html (hypertext markup language)
 
4. html css-java script-basics
4. html css-java script-basics4. html css-java script-basics
4. html css-java script-basics
 
4. html css-java script-basics
4. html css-java script-basics4. html css-java script-basics
4. html css-java script-basics
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
4. html css-java script-basics
4. html css-java script-basics4. html css-java script-basics
4. html css-java script-basics
 
HTML and DHTML
HTML and DHTMLHTML and DHTML
HTML and DHTML
 
Html
HtmlHtml
Html
 
Html
HtmlHtml
Html
 
Html css java script basics All about you need
Html css java script basics All about you needHtml css java script basics All about you need
Html css java script basics All about you need
 
Html5 css3
Html5 css3Html5 css3
Html5 css3
 
HTML (Basic to Advance)
HTML (Basic to Advance)HTML (Basic to Advance)
HTML (Basic to Advance)
 
Html update1(30 8-2009)
Html update1(30 8-2009)Html update1(30 8-2009)
Html update1(30 8-2009)
 
HTML web design_ an introduction to design
HTML web design_ an introduction to designHTML web design_ an introduction to design
HTML web design_ an introduction to design
 
About html
About htmlAbout html
About html
 
Advance HTML
Advance HTMLAdvance HTML
Advance HTML
 
Week 2-intro-html
Week 2-intro-htmlWeek 2-intro-html
Week 2-intro-html
 
Html
HtmlHtml
Html
 

Recently uploaded

APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 

Recently uploaded (20)

APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 

07sp.wksp2_basicHTML.ppt

  • 1. 1 Basic HTML Workshop LIS Web Team Spring 2007
  • 2. 2 What is HTML?  Stands for Hyper Text Markup Language  Computer language used to create web pages  HTML file = text file containing markup tags such <p>  Tags tell Web browser how to display a page  Can have either *.htm or *.html file extension
  • 3. 3 HTML Elements  Tags are the elements that create the components of a page  Tags surrounded by angle brackets < >  Usually come in pairs  Example: Start tag <p> and end tag </p>  Stuff between is called “element content”  Tags are not case sensitive  New standard is to use lower case
  • 4. 4 XHTML  Lower case for tags = new standard  Preparing for next generation of HTML called XHTML
  • 5. 5 Your created HTML document <html> <head> <title> …document title… </title> </head> <body> …your page content… </body> </html>
  • 6. 6 Page Components  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1- transitional.dtd">  First line of code  Declaration of version of HTML  <html>…</html>  Container for the document  <head>…</head>  <title> Title of page </title>  <body>…</body>  Content of page <html> <head> <title> …document title… </title> </head> <body> …your page content… </body> </html>
  • 7. 7
  • 8. 8 Basic Tags  Headings  <h1>…</h1> to <h6>…</h6>  Like in Word  See example  Paragraph  <p>… </p>  Inserts a line space before and after a paragraph  See example http://library.manoa.hawaii.edu/about/exhibits/index.html
  • 9. 9 Example of use of Heading
  • 11. 11 Link Tag  Link  Anchor tag <a>…</a>  3 kinds  Link to page in same folder  Link to page in different folder  Link to outside webpage on the Internet.
  • 12. 12 Example of Anchor Tag <a href="http://www.hawaii.edu/slis">Go to the LIS home page</a> address text in page  2 components  Address  Text or description – this is what you see on the page
  • 13. 13 Image Source Tag  Empty tag – no closing tag  Components of Img tag <img src="url“ alt = “description of image” />  url = points to location of the image file  alt = describes image for screen readers
  • 14. 14 Specify file location  Same folder: “pic.gif”  Document-relative link  Look for image in same folder  Different folder named images: “/images/pic.gif”
  • 15. 15 Division Tag  <div>…</div>  Division or section of document  Use to group elements to apply formatting or style  Example: all text within div tag will be fuschia <div style="color: #FF00FF"> <h1> Title of section</h1> <p> bla bla bla bla </p> </div>
  • 16. 16
  • 17. 17 Examples of use of Links
  • 18. 18 Exercise  Add a paragraph  Add some links  Add an image  Create 3 divisions
  • 19. 19 Your session1 HTML document <html> <head> <title> …document title… </title> </head> <body> …your page content… </body> </html>
  • 20. 20 End Product  <html>  <head>  <title>Caitlin’s Page</title>  </head>  <body>  <div>  <a href="index.html>Home</a><br />  <a href="courses.html">Courses</a><br />  <a href="personal.html">Personal</a><br />  </div>  <p>Hello my name is Caitlin Nelson and I am writing about myself. Contact info:  <a href="http://www.hawaii.edu/slis/webteam">Web Team</a>   <div>  <img src="palmtree.jpg"alt=”a picture of a palm tree”/>  </div>  </div>  </body>  </html>
  • 21. 21 Next Mission  Choose colors for your page  Text color  Link color  Background color  Choose font size  Type of font  Font size