Advanced HTML: Reusing HTML
One of the best places to go when starting to write HTML is to existing HTML. All of the pages in this workshop were copied so that I only had to change the titles, headers, and the body of the documents (but not the red-on-grey formatting of the header1, etc.).
It's also easy to use any existing HTML file on the Web as a place to start. To see what it looks like, select View -> Source when looking at the page in Netscape. On a Mac, this starts SimpleText with a copy of the page in it---which makes it very easy to use the page as a start for your own. On a UNIX or Win95 box, it will just give a nice view of the source HTML for the file.
- Reuse your old HTML files:
- If you keep a skeleton file like the basic HTML doc, it's easy to start with that to avoid having to enter all of the <html> and <body> tags for each new page
- If you are making a lot of pages with the same format, copy one page (in MacOS, "duplicate" the file in the Finder) and change the titles, headers and body
The only catch with using other people's HTML is that you don't know how well written it is---which leadn nicely to the question of HTML Validation and "Good HTML".
- Reuse others' HTML:
- On a Mac, View -> Source in Netscape, and then Be Sure to save the file as the filename that you want.
- Or, on any platform, use File -> Save As, and check that you are saving it As Source. Give a filename, and you have the HTML to work with later.
1: (footnote) it might not show up as red-on-grey for not-so-with-it browsers... =).
[advhtml] [colors] [reuse] [valid] [images] [objects] [imaps] [tables] [frames] [forms]
[title]
[objectives]
[www uses]
[the works]
[basic html]
[adv html]
[editors]
[resources]
[feedback]
last modified (( Jun 17 07:47:01 1997 ))
HTML/WWW Wkshop: Adv HTML-Reuse
©1997 Gavin LaRose
Comments to: glarose@NebrWesleyan.edu