Tutorial 01
| If you cut the text below and paste it into a text editor then view the results in a browser... first save the file as try01.html | You get this |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html><head> <title> Tutorial Test Page 01</title> </head> <body> Basic Web Design Concepts, ideas, tools, and knowledge Fall 2008 Create Your Own Web Site Syllabus Lesson 1 Lesson 2 Lesson 3 Lesson 4 Contact Explore concepts and ideas to develop a clear, concise,
usable
and
attractive web site |
Basic Web Design
Concepts, ideas, tools, and knowledge Spring 2008 Create Your Own Web
Site
Syllabus
Lesson 1
Lesson 2
Lesson 3
Lesson 4
Contact
Explore concepts and ideas to develop a clear, concise, usable and
attractive web site eh?
|
| In your text editor it looks
like this... |
In your browser, it looks like
this |
| <h1>This is an h1
heading</h1> <h2>This is an h2 heading</h2> <h3>This is an h3 heading</h3> <h4>This is an h4 heading</h4> <h5>This is an h5 heading</h5> <h6>This is an h6 heading</h6> |
This is an h1 headingThis is an h2 headingThis is an h3 headingThis is an h4 headingThis is an h5 headingThis is an h6 heading |
| Note:
(Hidden rule) HTML & XHTML automatically adds an extra blank line before and after a heading. |
|
| In your text editor it
looks like this |
|
|
<p>This is a paragraph</p> |
This is a paragraph This is another paragraph |
|
| (Hidden
Rule) HTML automatically adds an extra blank line before and after a paragraph. |
||
In HTML the <br> tag is used when you want to end a line,
but don't
want to start a new
paragraph.
The <br> tag forces a line break wherever you place it.
But, the <br> tag in html is an empty tag. It has no need
for a closing
tag!
In XHTML you MUST make it both an open and closed tag by adding a
slash eg.) <br />
| Okay weve added the basic markup
tags
here |
and this is the result, it looks
like this in a browser... |
<!--
-----------------------------Snip --><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head> <title> Tutorial Test Page 02</title> </head> <body> <h1>Basic Web Design</h1> <h3>Concepts, ideas, tools, and knowledge</h3> <h5> Summer 2007</h5> <h1> Create Your Own Web Site</h1> <p>Syllabus<br /> Lesson 1<br /> Lesson 2<br /> Lesson 3<br /> Lesson 4</p> <p>Contact </p> <h1>Explore concepts and ideas to develop a clear,
concise,
usable and attractive web site</h1> |
Basic Web DesignConcepts, ideas, tools, and knowledgeSummer 2007Create Your Own Web SiteSyllabus Contact Explore concepts and ideas to develop a clear, concise, usable and attractive web site |
Okay, got the routine? Cut, paste, save and load... If you double click the following, you'll see the results of what we have created so far in your default browser... try02.html |
|
| Here's what the html looks like
for a background graphic |
This is what it looks like in a
browser |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head> <title> </title> </head> <body style="background-image: url(mandarin/bg1b.gif);"> Hello Hello </body> </html |
Hello
Hello |
This is the orange
graphic pattern bg1b.gif that is used for the background in the Basic
Web Design site...
| So let's see what the orange background looks like... | |
<!--
-----------------------------Snip --><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head> <title> Tutorial Test Page 03</title> </head> <body style="background-image: url(mandarin/bg1b.gif);"> <h1>Basic Web Design</h1> <h3>Concepts, ideas, tools, and knowledge</h3> <h5> Fall 2008</h5> <h1> Create Your Own Web Site</h1> <p>Syllabus<br /> Lesson 1<br /> Lesson 2<br /> Lesson 3<br /> Lesson 4<p /> <p>Contact </p> <h1>Explore concepts and ideas to develop a clear,
concise,
usable and attractive web site</h1> <!-- -----------------------------Snip --> |
Basic Web DesignConcepts, ideas, tools, and knowledgeFall 2008Create Your Own Web SiteSyllabus Contact Explore concepts and ideas to develop a clear, concise, usable and attractive web site |
| You can see the
results in a browser here try03.html |
| insert tags for pictures and text here This is cell row #1 top left | insert tags for pictures and text here This is cell row #1 top right |
| insert tags for pictures and text here This is cell row #2 bottom left | insert tags for pictures and text here This is cell row #2 bottom right |
<!--
-----------------------------Snip --><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head> <title> Tutorial Test Page 04</title> </head> <body style="background-image: url(mandarin/bg1b.gif);"> <table style="text-align: left; width: 90%; background-color: rgb(255, 255, 255);" border="0" cellpadding="2" cellspacing="4"> <tbody><br> <tr> <td style="vertical-align: top;"><img style="width: 150px; height: 103px;" alt="Spiderwebgraphic" src="mandarin/web.jpg"><br> </td> <td style="vertical-align: top;"><br> <h1>Basic Web Design</h1> <h3>Concepts, ideas, tools, and knowledge</h3></td> </tr> <tr> <td style="vertical-align: top;"> <p>Syllabus<br /> Lesson 1<br /> Lesson 2<br /> Lesson 3<br /> Lesson 4<p /> <p>Contact </p><br> </td> <td style="vertical-align: top;"> <img style="width: 522px; height: 198px;" alt="create your own web site" src="PastedObjects/Create.jpg"><br> <br><h1>Explore concepts and ideas to develop a clear, concise, usable and attractive web site</h1><br> </td> </tr> </tbody> </table>
<!-- -----------------------------Snip --> |
|
Click here to see the results in a web browser try04.html
Okay we've got everything in the right place...
Let's change the background and text colors and make everything fit
| <!--
-----------------------------Snip --> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Tutorial Test Page 05</title> </head> <body style="background-image: url(mandarin/bg1b.gif);"> <br> <table style="text-align: left; width: 90%; background-color: rgb(255, 255, 255); margin-left: auto; margin-right: auto;" border="0" cellpadding="4" cellspacing="4"> <tbody> <tr> <td style="vertical-align: top; background-color: rgb(0, 0, 0);"><img style="width: 150px; height: 103px;" alt="Spiderwebgraphic" src="mandarin/web.jpg"><br> </td> <td style="vertical-align: bottom; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);"> <h1 style="background-color: rgb(0, 0, 0);">Basic Web Design</h1> <h3>Concepts, ideas, tools, and knowledge</h3> </td> </tr> <tr> <td style="text-align: justify; vertical-align: top; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);"> <p style="background-color: rgb(0, 0, 0);"><br> Syllabus<br> </p> <p style="background-color: rgb(0, 0, 0);"><br> Lesson 1<br> </p> <p style="background-color: rgb(0, 0, 0);">Lesson 2<br> </p> <p style="background-color: rgb(0, 0, 0);">Lesson 3<br> </p> <p style="background-color: rgb(0, 0, 0);">Lesson 4</p> <p style="background-color: rgb(0, 0, 0);"></p> <p style="background-color: rgb(0, 0, 0);"><br> Contact </p> <br> </td> <td style="vertical-align: bottom;"> <img style="width: 522px; height: 198px;" alt="Create your own web site graphic" src="PastedObjects/Create.jpg"><br> <br> <h1>Explore concepts and ideas to develop a clear, concise, usable and attractive web site</h1> <br> </td> </tr> </tbody> </table> </body> </html> <!-- ---------------------Snip --> |
|
||||
You can see the results here in a browser try05.html |
| <!--
-----------------------------Snip --> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Tutorial Test Page 06</title> </head> <body style="background-image: url(mandarin/bg1b.gif); color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" alink="#ffffff" link="#ffffff" vlink="#ff6600"> <br> <table style="text-align: left; width: 90%; background-color: rgb(255, 255, 255); margin-left: auto; margin-right: auto;" border="0" cellpadding="4" cellspacing="4"> <tbody> <tr> <td style="vertical-align: top; background-color: rgb(0, 0, 0);"><img style="width: 150px; height: 103px;" alt="Spiderwebgraphic" src="mandarin/web.jpg"><br> </td> <td style="vertical-align: bottom; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);"> <h1 style="background-color: rgb(0, 0, 0);">Basic Web Design</h1> <h3 style="color: rgb(255, 102, 0);">Concepts, ideas, tools, and knowledge</h3> </td> </tr> <tr> <td style="text-align: justify; vertical-align: top; background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);"> <p style="background-color: rgb(0, 0, 0);"><br> <big><a style="color: rgb(255, 255, 255); font-weight: bold;" href="syllabus.html" target="_blank">Syllabus</a></big><br> </p> <p style="background-color: rgb(0, 0, 0);"><br> <big style="color: rgb(255, 255, 255);"><a href="lesson1.html">Lesson 1</a><br> </big></p> <p style="background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);"><big><a href="lesson02.html">Lesson 2</a><br> </big></p> <p style="background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);"><big><a href="lesson03.html">Lesson 3</a><br> </big></p> <p style="background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);"><big><a href="lesson04.html">Lesson 4</a></big></p> <p style="background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);"><big><br> <a href="mailto:garrystasiuk@comcast.net">Contact</a><br> </big></p> <p style="background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);"><big><a href="HTML_XHTMLTutorial.html">TUTORIAL</a><br> </big></p> <br> </td> <td style="vertical-align: bottom;"> <img style="width: 522px; height: 198px;" alt="Create your own web site graphic" src="PastedObjects/Create.jpg"><br> <br> <h1>Explore concepts and ideas to develop a clear, concise, useable and attractive web site</h1> <br> </td> </tr> </tbody> </table> </body> </html> <!-- -----------------------------Snip --> |
|
||||
You can see the results here, did you notice what I did to the alink and vlink colours? try06.html |
|||||
| Lucky for us we can use Googles
search engine, here's the markup from Google all you have to do
is replace the red
text with your domain name and url |
|
| <!--SiteSearch Google
--> <form method="get" action="http://www.google.com/search"> <div id="search"> <label for="q">Search:</label> <input id="q" name="q" size="20" maxlength="255" value="" type="text" /> <input name="domains" value="http://uofgts.com/" type="hidden" /> <input name="sitesearch" value="http://uofgts.com/" checked="checked" id="mysite" type="radio" /> <label for="mysite">Just this site</label> <input name="sitesearch" value="" id="www" type="radio" /> <label for="www">WWW</label> <input name="btnG" value="Go" type="submit" /> </div> </form> <!-- SiteSearch Google --> |
|
|
|
|||||