Professional Documents
Culture Documents
• Client/server architecture
Page request
Data response
Client running
Web Browser
Server running Web
Server Software
(Apache, IIS, etc)
• http://www.uccs.edu/cbrewer/index.html
protocol server domain Directory Document
(folder) (filename)
• See http://www.w3.org/QA/2002/04/Web-Quality
for a list of qualified doctypes.
1. Open Z: drive
2. Create folder called “ENTP395”
3. Open “ENTP395” folder
4. Right-click and select “New Text Document”
5. Name it “firstname-lastname.html”
• Ex. Chris-Brewer.html
• Why no spaces?
6. Right click on file and select “Open with Notepad”
• Not Wordpad. Why?
7. Create the <doctype> and correct <head> section
8. Save but don’t close
<b></b>
• Tags modify the text bold
<i></i> italicized
between the opening tag <u></u> underlined
and the closing tag. <sup></sup> superscript
– Ex. <b>Hello <sub></sub> subscript
World</b> makes “Hello <strong></strong> strong
World” bold. <em></em> emphasized
<pre></pre> Preformatted
text
<blockquote> Quoted text
</blockquote> block
• Add an image:
<img src="http://cob.uccs.edu/icons/php.png">
• <center></center>: Deprecated:
<center>Hello World!</center>
• Apple o Apple
• Orange o Orange
Apple
• Pear o Pear
Orange
View the browser Pear
output of
unorderedlists.html
Copyright 2005 Christopher Brewer. All rights reserved.
<body> Section: Special Chars
• Example:
Creates a new row
<table border=1>
<tr>
<td>Hello</td>
<td>World</td>
</tr>
Creates a
<tr> new row
<td colspan=2>That’s a wrap</td>
</tr>
</table> View the browser output of tables.html
Table Data “cells” (<td>) can contain tables (tables within tables):
<table border=1>
<tr>
<td>Contact:</td>
<td>
<table border=1>
<tr>
<td>First Name</td>
<td>Last Name</td>
</tr>
</table>
</td>
</tr>
</table>
View the browser output of tables2.html
• Create a checkbox:
<input type="checkbox" name=“fruit" value="apple">
• Submit button:
<input type="submit" name="Submit"
value="Apply">
• Acts as a <p>