How to Crate a Web Page
Essay by people • July 6, 2011 • Study Guide • 1,498 Words (6 Pages) • 2,070 Views
How to Create a Web page
There are a couple ways to make a web page. one way is to create the page offline and then upload them to your Internet Service Provider (ISP) via FTP. The second way is to create your web page online using a Telnet program by accessing your UNIX account, if you have one.
If you are creating your web page offline, do it in any text editing or word processing document. Make sure that when you save your document, you save it as a "text", "plain text" or "text only" document. If you don't it will not be read by the web browser. Once you have created your page, you will need to contact your ISP about how to go about uploading them to your server.
If you have a UNIX account, you can create your web page online. You first need to get a program that can access your UNIX account. I recommend Telnet for the Mac or Ewan for Windows.
Once you can access your account, you need to make a new directory called "public_html". You can do this by typing:
mkdir public_html
After this, change your directory to this new directory called "public_html".
cd public_html
If you want to, you can make other directories, one for all the web pages that you make, and one for all of the graphics that you have. Follow the same steps as above to do this.
Now, think of a filename for your page (this is not a title, but what will be in the URL). A common filename for a main web page is "index". Once you've decided on this, add ".html" to the end of it. Then type (i.e.)
pico index.html
use your page's filename, instead of this one. Next, you need to gain some knowledge of the many HTML commands. Once you've gotten started, exit your page. You can do this by pressing control-x. Then you need to type:
chmod 744 index.html
Only do this with the filename of your page. You only need to do this the very first time that you leave your web page. This command will make sure that nobody else can delete your page. You will need to do this to any other pages that you make in the future. Then, look at your page on the WWW. Lets say that your server is "www.domain.com", your username is "username", and the name of your page is "index.html". The URL would normally be:
http://www.domain.com/~username/index.html
However, you will need to contact your ISP for your URL.
If you have made separate directories for pages and graphics, then you need to include that in the URL also. Lets say that you made a directory for all of your web pages, called "Pages". The new URL would be: http://www.domain.com/~username/Pages/index.html
Title
These are the steps to using the HTML codes to create text on your webpage. These are very important steps to creating your webpage. They are many more codes, these are a few basic codes to get the web page started and ready to go.
Basic steps: using tags
HTML uses tags to communicate to the client (browser) how to display text and images. Tags are contained in < > symbols. In most cases you start with the beginning tag, put in the word or words that will be affected by this tag, and at the end of the string of word(s), you place a closing tag.
For example, to create a title for a document you would do the following:
<title>My First HTML Document</title>
The closing tag normally contains a "/" before the directive to indicate the termination of the action.
HTML tags are not case-sensitive, although URLs generally are. In most cases (with the exception of preformatted text) HTML collapses many spaces to one space and does not read blank lines. However, when you write your text you should leave several blank lines between paragraphs to make editing your HTML source document easier.
The HTML tag
Although not currently required by all clients, the <html> tag signals the point where text should start being interpreted as HTML code. It's probably a good idea to include it in all your documents now, so you don't have to go back to your files and add it later.
The <html> tag is usually placed on the first line of your document. At the end of your document you should close with the </html> tag.
The head tag
Just like the header of a memo, the head of an HTML document contains special information, like its title. The head of a document is demarcated by <head> and </head> respectively.
For the purposes of this class, only the title tag, below, should be included in the document head. A typical head section might look like
<html> <head> <title>My First HTML Document</title> </head>
Titles
A title tag allows you to specify a Document Title in your browser window. When people make hotlists, this title is what they see in their list after
...
...