+ All Categories

HTML

Date post: 12-Jan-2016
Category:
Upload: olina
View: 28 times
Download: 0 times
Share this document with a friend
Description:
HTML. Chapter 4. Title. My Map Gallery . Open File. Sub-titles. My Map Gallery A collection of maps available through the web. Compiled by your name . Sub-titles. - PowerPoint PPT Presentation
21
HTML Chapter 4
Transcript
Page 1: HTML

HTML

Chapter 4

Page 2: HTML

Title

<html><h1> My Map Gallery </h1> <!--This writes “My Map Gallery.”--></html>

Page 3: HTML

Open File

Page 4: HTML

Sub-titles

<html><h1> My Map Gallery </h1><h2> A collection of maps available through the web. </h2><h3> Compiled by your name </h3></html>

Page 5: HTML

Sub-titles

Page 6: HTML

Add title for map

<html><h1> My Map Gallery </h1><h2> A collection of maps available through the web. </h2><h3> Produced by your name </h3><hr><h2> Births to Mothers under the Age of 20 in the US </h2></html>

Page 7: HTML

Add link to first map

<html><h1> My Map Gallery </h1><h2> A collection of maps found on the web. </h2><h3> Produced by your name </h3><hr /><h2> Births to Mothers under the Age of 20 in the US </h2><img src=”http://maps.unomaha.edu/OnlineMapping/Chapter3/MapExample1.gif” width=”500” height=”389”></html>

Page 8: HTML

Make map clickable

<a href=”http://maps.unomaha.edu/OnlineMapping/Chapter4/BigMap.gif”><img src=”http://maps.unomaha.edu/OnlineMapping/Chapter4/SmallMap.gif”> </a>

Page 9: HTML

Add caption

<html><h1> My Map Gallery </h1><h2> A collection of maps found on the web. </h2><h3> Produced by your name </h3><hr><h2> Map of ________ </h2><img src=”http://maps.unomaha.edu/OnlineMapping/Chapter3/MapExample1.gif”><p>This map shows the distribution in the 48 United States of births to mothers under the age of 20 years old in 1982. Shadings are used to show the five categories of data. The states with the higher number of births to mothers under 20 are in the southern part of the United States.</p><p> <hr> <p></html>

Page 10: HTML

Embed

<embed src=”http://maps.unomaha.edu/OnlineMapping/Chapter3/

MapExample4.pdf” width=”500” height=”389”>

embed for: Adobe’s PDF, Flash, and Quicktime

img for: GIF, JPG, PNG

Page 11: HTML

HTML Editor Palette

NVU

Page 12: HTML

HTML Table

Page 13: HTML

Defining Image Properties

NVU

Page 14: HTML

Wix

Page 15: HTML

Multipage Gallery

Title Page | Map1 | Map2 | Map3 | Map4 | Map5 | Map6 | Map7 | Map8 | Map9

Page 16: HTML

Multipage Coding<html><h1> My Map Gallery </h1><h2> A collection of maps found on the web. </h2><h3> Produced by your name </h3><a href=title.htm> Title Page </a> |<a href=map1.htm> Map1 </a> |<a href=map2.htm> Map2 </a> |<a href=map3.htm> Map3 </a> |<a href=map4.htm> Map4 </a> |<a href=map5.htm> Map5 </a> |<a href=map6.htm> Map6 </a> |<a href=map7.htm> Map7 </a> |<a href=map8.htm> Map8 </a> |<a href=map9.htm> Map9 </a> |</html>

Page 17: HTML

Table + Multipage<html><h2> Title of Map #5 </h2><table width="1000" height="597" border="1"> <tr> <td width="734" height="393"><img src=http://maps.unomaha.edu/OnlineMapping/Chapter3/MapExample1.gif></td> <td width="250">Caption</td> </tr></table><p align="center"><a href=title.htm> Title Page </a> | <a href=map1.htm> Map1 </a> | <a href=map2.htm> Map2 </a> | <a href=map3.htm> Map3 </a> | <a href=map4.htm> Map4 </a> | <a href=map5.htm> <b>Map5 </b> </a> | <!--This makes the link bold--> <a href=map6.htm> Map6 </a> | <a href=map7.htm> Map7 </a> | <a href=map8.htm> Map8 </a> | <a href=map9.htm> Map9 </a> |</html>

Page 18: HTML

XHTML-Proper nestingIncorrect: <b><i>This text is bold and italic</b></i>

Correct: <b><i>This text is bold and italic</i></b>

Page 19: HTML

XHTML-single tags with ending

Incorrect: A break: <br>A horizontal rule: <hr>An image: <img src="map.gif" alt="A map">

Correct: A break: <br />A horizontal rule: <hr />An image: <img src="map.gif" alt="A map;" />

Page 20: HTML

XHTML-no caps

Incorrect <BODY><P>This is a paragraph</P></BODY>

Correct <body><p>This is a paragraph</p></body>

Page 21: HTML

XHTML: head and body

Correct<html><head> ... </head><body> ... </body></html>


Recommended