Basic HTML


W3 Schools

A great resource for both HMTL and JavaScript is w3schools.com.

Format of all HTML Files

<html>
<head>
      <title> Page's Title </title>
      most scripts go here
</head>

<body>

your content goes here

</body>
</html>


Basic < Tags >

<P> Paragraph, blank line
<br> break, new line
<h1> huge header
<h3> medium header
<h5> fine print
<center> start centering
<a> anchor, link
<table> a table like this one
&nbsp; non blank space

Examples to Steal

link to local page
<a href="../default.htm">link to local page</a>

link to external page
<a href="http://threejs.org">link to external page</a>

Change body background color so the white canvas is clear:
<body bgcolor=grey>


Deltona

Winthrop's web server for students is Deltona. The URL of your homepage is deltona.birdnest.org/~acc.yourid, where yourid is your Linux account ID, like dannellys2.

Put your HTML files in your Linux account under the directory public_html. Make sure that directory and your home directory are both executable by all (so the web server can get to your files). The command to set the permissions on the current directory is
chmod a+x .
Also, make sure your files are readable by all, for example:
chmod a+r lab01.html

Finally, the file name for your homepage is "index.html".