SlideShare a Scribd company logo
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

HTML Fundamentals
HTML FundamentalsHTML Fundamentals
HTML Fundamentals
BG Java EE Course
 
3 1-html-fundamentals-110302100520-phpapp02
3 1-html-fundamentals-110302100520-phpapp023 1-html-fundamentals-110302100520-phpapp02
3 1-html-fundamentals-110302100520-phpapp02
Aditya Varma
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
NAGARAJU MAMILLAPALLY
 
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-basics
xu fag
 
4. html css-java script-basics
4. html css-java script-basics4. html css-java script-basics
4. html css-java script-basics
Nikita Garg
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
Aiman Hud
 
4. html css-java script-basics
4. html css-java script-basics4. html css-java script-basics
4. html css-java script-basics
Minea Chem
 
HTML and DHTML
HTML and DHTMLHTML and DHTML
HTML and DHTML
SURBHI SAROHA
 
Html
HtmlHtml
Html
HtmlHtml
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
Dipen Parmar
 
Html5 css3
Html5 css3Html5 css3
Html5 css3
Altaf Pinjari
 
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 design
SureshSingh142
 
About html
About htmlAbout html
About html
Manvigangwar
 
Advance HTML
Advance HTMLAdvance HTML
Advance HTML
VijaySingh790398
 
Week 2-intro-html
Week 2-intro-htmlWeek 2-intro-html
Week 2-intro-html
Shawn Calvert
 
Html
HtmlHtml

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

Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
Mariano Tinti
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 

Recently uploaded (20)

Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 

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