none.
Download these files (right click+save as):
Open the HTML file in a text editor (notepad). Remove the comment in Line 11. This is the place to put your contents:
empty_1.html
in the webbrowser using the file menu.http://www.gps.alaska.edu/programming/LAB06_matlab_io2.html
img
stuff inside the link tags<br />
) this time with some text indicating the link.Download this file (right click+save as):
Open the file in a text editor (notepad) and save it as index.html
. This way you keep the empty file as a template
for future projects. Inside index.html
you find I give you the information necessary to make it a
webpage. There are certain parts that need your attention, though, before you go any further:
KEYWORDS THAT DESCRIBE YOUR WEBSITE
" with actual keywords or delete this line.EMPTY FILE
" with a title for your website. The word 'website' doesn't have to appear, it's implied
by the fact that you're building a website. Keep in mind that names of HTML files and title strings are also indexed by search engines. So be
creative.Starting from this empty template, we'll create something that's similar to this document: generic_website.pdf
Add the following elements to your website (open the file index.html in a browser window and episodically refresh to see what it looks like on the screen):
<h1>
</h1>
tags
<li><a href="link-target">TEXT TO APPEAR AS LINK</a></li>
<li><a href="#anchor-name">TEXT TO APPEAR AS LINK</a></li>
Here goes lots of stuff, actual content, blabla ...
somewhere in the text is the passage you wanted to anchor to, simply insert:
<a name="anchor-name"></a>
Now you got your menu set up (yay!), but nothing yet that it links to (if you click on any of the menu items in the browser window, nothing will happen). Here's what you'll do:
h3
Add another paragraph in the place that contains the footer comment. A footer can contain brief contact information, site update information, etc. You've seen them.
Well, we have a website that looks rather 90's but is well structured. We should, however, do something to the design.
Download this file (right click+save as) to the same directory as your index.html
:
We have to make just a few slight changes to our structure document to make it look like this: generic_website_css.pdf (see how it would be useful to have the css set to medium "screen" then not as much space would be wasted in the pdf, but you'd also not see what you're supposed to create ... )
Quite a bit is already prepared for you which you'll see when you open the CSS file in a text editor. Here's the big secret on website design questions: secret. Grab a template that looks good to you and modify it until it fits your taste.
id
to footer
so that the last paragraph is formatted as described in the css file.
id
to navigation
so that this unordered list is formatted as described in the css file:
ul#navigation {
font-size: 0.83em;
float: left;
width: 12.3em;
margin: 0;
padding: 1em 0 0;
display: block;
font-weight: bold;
list-style: none;
color: navy;
}
div
containers that I already gave you. One has the id the_page
the other contents
h1
that says something about backgroundsHave fun! Send me a nice looking website and all the files I would need to enjoy it!
ronni <at> gi <dot> alaska <dot> edu | Last modified: February 01 2013 21:41.