This source of this document should be viewed as above to see how it works. That is, compare the page source with the page you see in your browser.
Keep in mind that it is a page about HTML. In some places I just use HTML and expect that you'll look at the source. In other places, I wanted the HTML to not be interpreted so the source would show through to the usual browser frame. This is not the usual case with HTML - you'll want it all interpreted, so you won't use the XMP tag unless writing about HTML.
You can create your own html with a simple text editor. I don't use an html editor, e.g PageMill, I use jove or equivalent text editor. I generate some of my HTML via perl reading a text file (exported database).
You can view your web page attempts locally with your browser by opening the file (Open File) instead of opening a URL. You can then work with the HTML till you like what you see, then upload to the web server. You should keep a local copy of all your pages so they can link to each other, and just for backup purposes.
Syntactically, the structure of a page is supposedly the HEAD followed by the BODY:
Note that line breaks in your text are ignored. Text is formatted to fill the browser lines with whatever fontsize the user has selected. This text will be stronger than surrounding. Ditto This text will be emphasized, probably via italics. Read all about it in Scientific American.
a line break
a paragraph break. I use only at the beginning of a paragraph.
a horizontal rule (line).
To start an unnumbered list with bullets for each list item:
To create a
definition list - where you present a definition
term (dt) followed by a sentence or paragraph - the definition data (dd):
John Miller's Home Page will appear as a hotlink. When the user clicks on it, they'll go to the associated URL. The (a) markup tag stands for 'anchor'.
You can surround anything with the
The best way to get started is just to export some text form a WP document into text with line breaks, and start dinking with it... poke in the p's and start converting key lines into headings, etc. It's real fun the first time or two... :^)
Background colors and font colors, etc are easy, but also easy to overdo. I recommend changing the background color, but not any of the font colors.
You can also define a table row of table headers (th) before any table data rows. You can do all kinds of stuff with tables. There is a table sampler on the web at netscape I think. See my New World Model for example of a table and some of these other formatting commands, links, etc.
ThisX1 creates a subscript, I think.preformattedtext will be in mono-space font with all the line breaks preserved as you have them in the source HTML. I think it also puts a blank line before and after it. Good way to include raw text, code-snippets, etc.
You can find a table of entities on the web. (Sorry no link here.)
& ampersand Lewis & Clark College © copyright sym © 1996, John Miller > greater-than < less-than " quotemark can use " in most places. Best to use newer q markup tag! non-breaking space There are many others.
You can have the browser put of a mailgram in response to the Pannet Corporation below:Created By: Pannet Corp.
Don't worry that some things seem redundant - e.g. cite and em have the same rendition on UNIX Netscape, but they may be different on Mac Netscape, or Mosaic, etc.
Yank Itbut leave out the second one (after .html), you may not see some major portion of your document or get unpredictable results. But it's fun and easy to debug because you've got the graphic clues. I've had to put both quotes in above - otherwise the document is broken under Netscape 3.0. Other browsers may not care. Dunno.
Web servers have a "user" space and a "server" space. The server space is all files under one particular directory on the system, like /home/www or somthing, owned by a single user, like www. User space is the combined set of public_html subdirectories in all user's home directories. (At L&C that is the "cwis" subdirecory). You may have have things in subdirectories so that your URL path will be longer. If you specify an href as:
href=jojo.htmlthen the base reference for the current document will be provided. If it is file:///home/pannet/web/docs/jimmmy.html, then the reference is to another file in the same directory. If the current document was access via http, then the browser will fill that URL stuff in before going to get it.
If you want to have an electronic form, be patient. You'll need your service provider's help on that, probably unless they have their server opened up for user-cgi (common gateway interface) scripts. Imagemaps should work the same for you regardless, but on the above page, the webform results into mail use a script that we wrote here. Your provider probably has a similar script that you can use as the "ACTION" URL when posting the form.
BLOCKQUOTE /BLOCKQUOTE does what you'd think.
If the default doc is not found, and the URL is the name of a directory, the server returns a document consisting 'ls'-like info with on-the-fly links to each thing in the directory indicated (if directory listing is enabled on the web server, not so much any more these days..)
If the file corresponding to the URL does not exist, the server returns a 404 error or a fancy error page.
Similarly, each site has a unspoken subdirectory of each user's account, typically "public_html" where the user must place his/her files. Files must be world-readable cuz the server runs as "nobody".
Your ISP will likely run a s/ftp server, you can just ftp the files up to said directory and they should be immediately on the web.