340 likes | 740 Views
HTML: the Anatomy of a Web Page. Review. Learned about Site structure (Flow Charts) Navigation (Menus). HTML. What is HTML? HyperText Markup Language is a computer language used to create Web pages. Almost all documents viewed on the web are HTML documents. .HTML. Basic HTML.
E N D
Review • Learned about • Site structure (Flow Charts) • Navigation (Menus)
HTML • What is HTML? • HyperText Markup Language is a computer language used to create Web pages. Almost all documents viewed on the web are HTML documents. .HTML
Basic HTML • Consists of Two Things • Text • Tags
Text • Just as in a word document, the main text is the writing on the page. TEXT IS THE WRITING ON THE PAGE!!
DO THIS!! TEXT IS THE WRITING ON THE PAGE!! TAG Tags • Their job is to tell the text what to do. • You can tell tags from regular text by the angle brackets • <tag>
View Source • You can see the HTML coding of almost any web site by viewing the source. • On the internet explorer menu go to • View. . . • Source
Basic Types of HTML Tags • Text Formatting • <B> Bold </B> • <I> Italic</I> • <U> Underline</U>
Basic Types of HTML Tags • Page Formatting • Frames <FRAMESET> • Tables <TD>, <TABLE>, etc Lorem Ipsum Dolor Foty Lorem Ipsum Dolor Foty Lorem Ipsum Dolor Foty Lorem Ipsum Dolor Foty Lorem Ipsum Dolor Foty Lorem Ipsum Dolor Foty Lorem Ipsum Dolor Foty Lorem Ipsum Dolor Foty Lorem Ipsum Dolor Foty Lorem Ipsum Dolor Foty Lorem Ipsum Dolor Foty Lorem Ipsum Dolor Foty Lorem Ipsum Dolor Foty Lorem Ipsum Dolor Foty Lorem Ipsum Dolor Foty Lorem Ipsum Dolor Foty Lorem Ipsum Dolor Foty Lorem Ipsum Dolor Foty Lorem Ipsum Dolor Foty Lorem Ipsum Dolor Foty Lorem Ipsum Dolor Foty Lorem Ipsum Dolor Foty Lorem Ipsum Dolor Foty Lorem Ipsum Dolor Foty
Basic Types of HTML Tags • Links • <A HREF="index.html">back Home</A> • <A HREF="mailto:you@you.com?subject="hi!">mail me</A>
Basic Types of HTML Tags • Image Tags • <img src="images/picturename.gif" width="245" height="98" alt="Grasp">
Basic Types of HTML Tags • Programming Languages/Complicated Stuff • javascript • <script language="Javascript"> • <!-- • if (document.images). . .
Summary • Web Pages are HTML Documents • Source Can Be Viewed • HTML is made up of Text and Tags • Different Types of Tags
Sheet 9-2 • The minimal HTML document • Objective - today, we will make a simple web page. • Try to understand each step. • Difficult at first, but not so bad after a while!!
Day 3 - HTML TAGS YOU CAN USE Bold LINKS Lists
Formatting Tags • Bold • <B> Text </B> • Italic • <I> Text </I> • Underline • <U> text </U>
Returns • Break • <BR> • Paragraphs • <p>
Centering • Center Text or an image • <CENTER> Text </CENTER>
Un-ordered (Bulleted) Lists • Add items to a page in a list format <ul> <li>Cheese <li>Pepperoni <li>Mushrooms<li>Sausage </ul>
Ordered (numbered) Lists • Add items to a page in a numbered list format <ol> <li>Cheese <li>Pepperoni <li>Mushrooms <li>Sausage </ol>
Tables <html> <head> <title>Hello World - with a table</title> </head> <body> <h1>Hello World!</h1> <table> <th>Food Prices</th> <tr><td>Item A</td><td>Item B</td></tr> <tr><td>$1.00</td><td>$2.00</td></tr> </table> </body> </html> • Anexample:
Links • Three Types of Links • Links to the same page • Links to another page in the same site • Links to an external site
Links to the same page • <a name=gohere> • then <a href="#gohere">
Links to another page in the same site • <a href=”pagename.html"> • Click here to go to pagename! • </a>
Links to an external site <A HREF=“http://www.yahoo.com”>Text you wanna link </a>
E-Mail to: <a href=“mailto:jpatty98@yahoo.com"> E-mail Mr. Patty </a>
Chaging Colors • <Body BGCOLOR=#FFFFFF TEXT=#00FFFF> • OR • <Body BGCOLOR=pink TEXT=purple>