|
Lab Cultures
|
Research Library
|
Oddzone Experiments
|
Rat Lab Home
|
|
| Philosophy/Religion | History | Language Basket |
|
Tools
(Useful Online Tools) |
Research Lab
Home |
Educational
(More Educational Links) |
| Health | Tutorials | Political B.S. |
|
Tutorials |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Tutorial Contents: As I had mentioned previously, somewhere on this site, (although at the moment I admit I don't know where) I am going to start off with the Web Design stuff. It seems that it is the most in demand at the moment. Hopefully I will be able to get a couple together each week. Then I will take requests after that, because I know how to do everything!!!!!
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Getting Started
1. Domain Name: A typical Domain Name would be something like www.yourdomain.com (yourdomain = the actual domain name you choose). The bold italicised part is the actual domain name itself. If you are just dabbling around or doing something for fun you can usually get a subdomain for free along with free hosting (I will get into that later). If you are a business, however, or just want to have a more legitimate presence on the web, you will want to get your own domain name. Internic has a list of ICANN accredited registrars, I use Godaddy. Godaddy has domain names for $7.95 per year which is cheap enough that I don't bother searching for anything else. Some places will advertise free domain names, but you have to host your site with them, that's the catch. Now this solution is good if you already have the space to host the site, if you are planning on using a free hosting provider, or if you just want to reserve the name. When you start building sites that require more hosting features, they will often throw in the domain name for free, so that is something to keep in mind. Once you have purchased your Domain Name, or have decided to use a free subdomain name (eg. - www.yourdomain.yourhostingprovider.com) you are ready to move on to the next step. 2. Hosting: To have a website that is accessible to the world at large via the wonderous and ever-expanding world wide web (www), you need to have your pages stored on a server that is connected to it and able to serve up your pages on request. Last time I checked there were about 45 bazillion hosting companies that range from free to big bucks depending on services and requirements needed.
Basic Hosting Features: Bandwidth - This is the total amount (in size) of files that you will be allowed to serve up to the public. For example every time you open a new page in your browser, the files are loaded from the server that is hosting the website, to your browsers cache folder. If the page has 23k worth of files total, you have just used up 23k worth of bandwidth. If you are not expecting a lot of traffic (ie, personal web page) than it probably won't be an issue. If you have a lot of traffic and large files (video, mp3, etc.) than you will probably have to pay for the higher bandwidth. We have a maximum of 40gb a month here and have come nowhere near that yet. Direct Ftp Access - A lot of the freebie hosting providers have their own interface for uploading files to your site. If you are going the free route (which I recomment for your first attempt at this anyway) find a hosting provider that allows you to use Ftp to manage your files such as freewebpage.org. Software Support - If you need to run server side applications, does the server support CGI, MySQL, PHP, ASP, etc... This comes into play when you want to have a truly interactive site. Bulletin boards, shopping carts, form processing, and content management systems are just a few examples of website features that require some sort of server side program. What technology you use will depend on the platform (Linux/Windows) of your server, the specific functionality you are looking for, and/or the languages/technology you are most familiar with. This is obviously a subject for later tutorials, for now you should be able to make do with whatever you happen to get by just using premade programs and scripts. Speed, Security, and Reliability - I toyed around with the idea of putting together my own apache server again for a little while. When it came down to it, for the amount of time and aggravation I could save by using a professional hosting provider the cost was more than justified. A good hosting service is going to have a 99.9% up time, 24/7 monitoring and security, and a high speed OC-48 connection. So unless you want to do it for the learning experience, or you have an extraordinarily large amount of data you want to make available on the web, I can't say that I recommend running your own server. For those of you who want to get your feet wet, let's start with freewebpage.org, as a hosting provider (you will get the annoying banner, but hey, it's free and it works for learning the basics) and use the free subdomain name that you get with this service. Good! Now we are ready for step 3. 3. FTP (File Transfer Protocol): Once you have your server, you need a way to transfer files back and forth between your computer and your server (which could be in Bangladesh for all we know). This is where FTP comes in. There are several free FTP client softwares out there, I prefer the no frills approach of WS_FTP. It comes in two flavors WS_FTP PRO (which I recommend if you have the means to get a copy), or WS_FTP LE (which is free and I am putting the link to it right here so you have no excuse). Now that you have your FTP client software installed, you need to configure it to connect to your server. Start off by adding a new site to your list. Basically you really only need to apply three settings.
Host Name - this is the name of your server, usually something like ftp.yourdomainname.com
(if you are using freewebpage.org it will be yourdomain.freewebpage.org).
Manuals and Tutorials: Now You should have a domain name, a server to host your site, and an ftp program to allow you to transfer your files from your computer to your server, and vice versa. Let's go on to step 4. 4. Understanding the File Structure: A website consists of a few different basic types of files.
HTML Documents - (*.htm) Jpeg Images - (*.jpg) Along with gif the most common form of image file on the internet. Supported by all modern browsers, and highly compressed for optimal download speeds. Jpeg is usually the best format to use for ct (continous tone, photograph) type images. Jpeg does not support transparancies or multiple frames (animations). Gif - (*.gif) Gif files are limited to 256 colors, so are not as good for photos, but are better suited to graphic style images. Gif supports transparant backgrounds, and multiple frames (animations) Flash Movies - (*.swf) The Macromedia Flash player is now included with most browsers, and allows for a much higher degree of control of graphics and interactivity. Within a flash movie, fonts can be embedded, objects can be assigned a large assortment of behaviors to bring a higher level of interactivity to your site. Because Flash is vector based, it can be highly compressed and for this reason it is well suited to deliver content on the web. Javascript - (*.js) Javascript is a scripting language that is supported by most of the new browsers. It allows for additional functionality of the website by running 'client-side' scripts (aka, run on your machine, not on the server). Although javascript does not give you the true interactivity that a server side program allows, it is often a good solution for expanding the very limited features of html, without having to use up the servers resources. Audio Files (*.aif, *.mid, *.mp3, *.wav) We will be getting into more detail about audio, and how to prepare audio files for use on the web in the audio tutorials. For now these basic audio types, AIFF, MIDI, MP3, and WAV, are the most common types you will run into on the internet.
There are other types of files that you will end up dealing with in the long run, but for now I think this is a good
start. For example: If you type www.oddzone.com/odd.htm into the address bar of your browser, the server will hand you odd.htm and all it's support files. If you just type in www.oddzone.com, you will get the index.htm file (assuming there is one). For this reason it is usually a good idea to name your home page index.htm When you log on to your server using your FTP program, there will either be a www folder, a public_html folder, or you will actually be in the www folder when you log on. (the trick is to look for the one with the index.htm file in it.) This is the folder that you will copy the contents of your local website folder to.
Here is my locally stored website for centerstagedesign. I keep it in a tidy little folder with the exciting and
original name, website!
5. Website Building Tools: Theoretically, all you really need to write html is a basic text editor. Although it is perfectly adequate to hand code your html, (and I have used notepad on occassion to write html, when it was all I had available), it is much more practical to have an html editor that will highlight and color code elements and just generally be a little aware of what you are doing. This is known as a language sensitive editor and is a very handy tool indeed. These are the tools that we recommend to get started.
FTP Client
Language Sensitive Editor
Graphics Editor 6. Do I need to Learn HTML?: No. You can always use an online cms website builder like myspace, but if you want true freedom of design you really do need to learn HTML. The good news is you can be up an running with basic HTML in a matter of hours. A basic website rarely needs more than a couple dozen tags so not only is it easy to learn, but it is also a nice way to get your feet wet for learning more indepth programming languages such as Javascript or PHP (which you will not likely get a good grip on in a matter of hours unless your a cyborg perhaps). So the short answer is, if you really want to build websites you will end up learning it whether you want to or not. When you add and remove elements from your webpage via your handy dandy html editor, sometimes what the editor interprets you are trying to do, is not exactly what you are in fact trying to do. This is when you say, thank god I have a decent understanding of html, or I would be tearing my eyes out and eating them by now. 7. Fine, I have to learn HTML, What Now?: You know I am really glad you asked me that. What I suggest you do is to go over the next two tutorials, while simultaneously playing around with your html editor to build a couple practice pages. I learned myself via the cut and paste method. Whenever you see something you like on a website, view the source code in your browser. (In IE that would be View>Source Code) Cut and copy the parts you are interested in. Also copy entire pages onto your machine with all the support files (In IE that would be File>Save As>Web Page Complete), and try opening them in your html editor. Play around, make some changes, and reference the HTML Basics, and HTML Tag Reference tutorials while you do it. Also make use of the excellent Dreamweaver help (F1) if you are using Dreamweaver. It is really a pretty simple language and should start to make some sort of sense within a short period of time. It is not really necessary to memorize every tag, just to get enough of an understanding that you can guess what you need to reference. So what do you say, let's move on to HTML Basics.
HTML Basics.
Basic HTML Structure:.
1.Elements and Tags:
An element has three parts: a start tag, content, and an end tag. A tag is special text--"markup"--that is delimited by "<" and ">". An end tag includes a "/" after the "<". For example, the EM element has a start tag, <EM>, and an end tag, </EM>. The start and end tags surround the content of the EM element: <EM>This is emphasized text</EM> Element names are always case-insensitive, so <em>, <eM>, and <EM> are all the same. Elements cannot overlap each other. If the start tag for an EM element appears within a P, the EM's end tag must also appear within the same P element. Some elements allow the start or end tag to be omitted. For example, the LI end tag is always optional since the element's end is implied by the next LI element or by the end of the list:
<UL>
2. Attributes:
<IMG SRC="wdglogo.gif" ALT="Web Design Group"> An attribute is included in the start tag only--never the end tag--and takes the form Attribute-name="Attribute-value". The attribute value is delimited by single or double quotes. The quotes are optional if the attribute value consists solely of letters in the range A-Z and a-z, digits (0-9), hyphens ("-"), and periods (".").
Attribute names are case-insensitive, but attribute values may be case-sensitive.
3. Special Characters:
Other entities exist for special characters that cannot easily be entered with some keyboards. For example, the copyright symbol ("©") may be represented with the entity ©. See the Entities section for a complete list of HTML 4.0 entities.
As an alternative to entities, authors may also use numeric character references. Any character may be represented by a
numeric character reference based on its "code position" in Unicode. For example, one could use ©
for the copyright symbol or ا for the Arabic letter ALEF.
4. Comments:
<!-- An example comment -->
5. A Complete HTML Document:
HTML Tag Reference.
HTML Tags:.
1. Basic Tags:
2. Header Tags:
Tag Descriptions The <!-- Tag is a Comment. This is used as "notes", or anything that you don't want seen on your page. The close tag is --> Syntax: <!--This comment would only show in the source code-->
The <!--# Tag is mainly used for Server Side Includes (SSI). SSIs are used to get information from the server your site is on such as the time, without using CGI or programming. There are many, many different types of SSIs including email, include, exec, and more. The best way to learn SSIs is to find out what server software the administrator is running and ask him or her where you can find out where you can get a list of SSIs, including any special authoring instructions (some servers require the page's extension to be .shtml or a slight variation). The closing tag is -->
The <!DOCTYPE> Tag is used as an "Identifier" that tells the browser what HTML Specification your page conforms to. This Tag should be the first line of any HTML page. Programs that validate the syntax of HTML documents can also use this tag to identify the version of the HTML specification to decide how to perform the validation. Syntax: Microsoft FrontPage's <!DOCTYPE> is: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> It's not too important, and it is getting used less and used, but it is the standard. The <A> Tag is used as an Anchor, and is followed by HREF, NAME, TARGET, and a few other commands. The closing Tag is </A>, and the commands are as follows. HREF - This is used as Hypertext Reference, and links an HTML document to another HTML document. This can be linked to a WWW address, HTML file, or NAME. Syntax: <a href="http://www.yahoo.com">Yahoo</a> Other HREF commands include: <A HREF="ftp://...">
- Makes a link to an ftp site. Syntax: <A NAME="AmaHosting">AmaHosting</A>
The <ADDRESS> Tag is used just as that, an Address. It can be anywhere in a page, most often at the bottom, and is usually contact info. There is a paragraph before and after the Address Tag, and everything in between is italicized, depending on the browser. Syntax: <address>
The <APPLET> Tag is used to run an applet, a "little" Java program. You have probably seen applets before, the most popular uses are LED Signs, text effects, scrolling effects, etc.. The Applet Tag usually runs a pre-compiled program on your server usually with a .class or .java extension, and is called by a CODE Reference.
The <AREA> Tag is used in conjunction with Imagemaps (<MAP>). It tells the image what coordinates make up the "hotspots" of your image, along with the URL it will go to when you click inside those coordinates. The <B> Tag is used to make text Bold. The Bold Tag is identical to the <STRONG> Tag. Syntax: <b>This Text is BOLD</b>
The <BASE> Tag is used to tell your HTML where it's "home base" is, and should be between the <HEAD> Tags. For example, if you have many links to the same host or directory other than the host or directory your page is currently, you'll save time by using a <BASE> Tag. It is used with the HREF command also. For this example, assume that the current URL is http://www.AmaHosting.com/links.html <head> Even though you are at http://www.AmaHosting.com/links.html your HTML assumes that any link specified in the <BASE> Tag would use the link relative to http://www.AmaHosting.com. If you were to click on Link 1, it would go to http://www.AmaHosting.com/link1.html even though you are currently at http://www.AmaHosting.com/links.html and only specified link1.html for your link.
The <BASEFONT> Tag is used to tell your HTML which default font should be used throughout your page, and has many of the same commands as the <FONT> Tag. Syntax: <BASEFONT FACE="Arial" SIZE="3">
The <BGSOUND> Tag is used to add sound to your page. Supported formats include Waveform (.wav), Midi (.mid), Next/Sun (.au), and other types of sound files. There are 3 commands, SRC, DELAY (in seconds), and LOOP (-1 is infinite). Syntax: <BGSOUND SRC="music_file.ext" LOOP="-1" DELAY="10">
The <BIG> Tag is used to format the text one size bigger, and can be in relation to your <FONT> or <BASEFONT> size, if you've specified either one. The obvious opposite of this is <SMALL>. Syntax: <BIG>This Text is BIG<BIG>
The <BLINK> Tag is used to make text blink. Simple enough? Internet Explorer 4.0 has seemingly support for this. Syntax: <BLINK>This Text Will Blink<BLINK>
The <BLOCKQUOTE> Tag indents a block of text. Syntax:
Between the <BODY> and </BODY> Tags contain the information for the color, background, and margins of your page. There are several commands that can go inside the <BODY> Tag, including: ALINK Active Link Color - Color the text is when clicked. This can be much more visible when holding the click down on a link. Syntax: <body alink="lightblue"> BACKGROUND Background Image - This is the tiled background image. The graphic format can be .gif or .jpg. Syntax: <body background="image.gif"> BGCOLOR Background Color - This is the solid background color throughout your page. Syntax: <body bgcolor="white"> BGPROPERTIES - Internet Explorer Only Background Properties - Allows the ability "fix" a background image providing a watermark (non-scrolling) property so it doesn't tile as a background normally does. To give a page with a background image a watermark background, add bgproperties="FIXED". LEFTMARGIN - Internet Explorer Only Left Margin - Allows a definable width before the text and images from the left side of the page begin. If you define leftmargin="50", it would start the indent of the text at 50 pixels from the left. Netscape an IE's natural left margin is about 10 pixels. TOPMARGIN - Internet Explorer Only Top Margin - Allows a definable height before the text and images from the top of the page begin. If you define topmargin="150", it would start at 150 pixels from the top. Netscape an IE's natural top margin is about 20 pixels. LINK Link Color - This is used for your links. Syntax: <body link="blue"> TEXT Text Color - Aside from FONT COLOR, this controls the text color throughout your page. Syntax: <body text="black"> VLINK Visited Link Color - This is used for your visited links, links that your guest has already "been there, done that" so to speak. Syntax: <body vlink="purple">
The <BR> Tag is used to make text break, adding a line break Syntax: top
line<br>
The <CAPTION> Tag acts as a Caption and is included after the <TABLE> Tag. Syntax: <table>
The <CENTER> Tag centers all text enclosed within <CENTER></CENTER> Syntax: <center>Put Text You Want Centered Here</center>
The <CITE> Tag specifies a Citation, usually shown as italic text. Syntax: <cite>AmaHosting Script Sources</cite>
The <CODE> Tag typically specifies an example of Code, usually shown as monospaced text. Syntax: <code>AmaHosting Script Sources</code>
The <COL< Tag specifies alignment of Columns in a <TABLE>. The ALIGN command can also issue LEFT, RIGHT, CENTER, or JUSTIFY. This is an Internet Explorer-specific Tag, so you'll be better off aligning the text inside each Table Cell (<TD>). Syntax: <table
border="1" width="100%">
The <COLGROUP> Tag specifies alignment of Groups of Columns in a <TABLE>. There are a couple available commands: The ALIGN command can issue LEFT, RIGHT, CENTER, or JUSTIFY. VALIGN (vertical align), which can issue BASELINE, TOP, MIDDLE, or BOTTOM. SPAN, which sets how many columns are affected. This is an Internet Explorer-specific Tag, so you'll be better off aligning the text inside each Table Cell (<TD>). Syntax: <table
border="1" width="100%">
<COMMENT> The <COMMENT> Tag is a Comment. This is used as "notes", or anything that you don't want seen on your page. It works the same as the <!-- Tag, but is only available using Internet Explorer.
The <DD> Tag is a Definition, which is a command within a Definition List. It inserts a break from the Definition Term (<DT>) and indents the lines. Syntax: <dl>
The <DFN> Tag is a Definition, not to be confused with <DD>, a command within a Definition List (<DL>). This is an Internet Explorer-only Tag, so I recommend you use <EM> instead. Syntax: AmaHosting <dfn> HTML Tag Reference List</dfn>
The <DIR> Tag is a Directory List, and is followed by a List Item (<LI>). <DIR> acts much like <MENU>, <OL>, or <UL>. I recommend using <OL> or <UL>, they're the most-widely used and supported. Syntax: <DIR>
The <DIV> Tag is a Document Division, and is used with the ALIGN command for LEFT, CENTER, or RIGHT. Anything within the <DIV> </DIV> Tags will be aligned accordingly, including other Tags. Syntax: <div
align="right">
The <DL> Tag is a Defined List, or a Definition List. This is a list that includes terms (<DT>) and definitions (<DD>). Syntax: <dl>
The <DT> Tag is a Definition Term, which is a command before the Definition (<DD>). Syntax: <dl>
The <EM> Tag is used to format the text with Emphasis. It's basically the same as the Italic Tag (<I>). Syntax: AmaHosting <em>HTML Tag Reference List</em>
The <EMBED> Tag is used to Embed Objects into HTML, and is followed by SRC. Other commands include HEIGHT, WIDTH, BORDER, HSPACE, and VSPACE. Embedded Objects are based upon the type of file (associated by the extension). Embedded Objects can be sound, video, VRML, multimedia, or any type of Browser Plug-in. Syntax: <embed src="file_name.ext"> The <FONT> Tag is used to control the font SIZE, COLOR, and FACE attributes. The SIZE can be 1-7 and can include + or - to make it relative to the current default font, which is 3 if there is no <BASEFONT> set. Syntax: <font face="put face name here" color="put color here" size="put size here">
The <FORM> Tag is a fill-out input form that allows the data to be handled in many ways, typically a CGI script. A form is most often used as a mailto Guestbook, although there are many different things you're able to do with the data. For this example, I'll use part of my old Feedback Form and explain along the way. Remember, this just the elements of the <FORM> Tag, it isn't a "How To Add a Guestbook" or CGI Tutorial. Syntax: <FORM ACTION="http://www.AmaHosting.com/cgi-bin/mail.pl"
method="POST"> NOTE: That is only the basics or the form tag, to make it work you need to use other tags with it (we will cover them in later issues).
Frames can split your screen up into several small individual windows with their own pages loaded in each window. The <FRAME> tag is used to manipulate the individual windows. Syntax: <frame
src="navigator.htm" name="navigator" border="0"
scrolling="no" noresize>
The <FRAMESET> tag will setup the frames in columns and rows. The <FRAME> is used in between the opening and closing <FRAMESET> tags. Syntax: <frameset
cols="26%, 74%" border="0" frameborder="no"
framespacing="0">
Syntax: <H1>This
would be the largest text</H1>
The <HEAD> Tag represents the Head of an HTML page. The only requirement is that the <TITLE> Tag be inside it: Syntax: <head>
The <HR> Tag a Horizontal Rule used as a separator. The optional commands include WIDTH and SIZE in pixels or percent, and NOSHADE. Some Web Developers like to use images, called by <IMG>, instead of the <HR> Tag for design reasons. The default <HR> WIDTH is 100% and SIZE is 2 pixels. Other optional commands include: ALIGN - Left,
Center, or Right. <hr width="100%" align="center">
The <HTML> Tag is the mother of all Tags. It contains all the text and HyperText Markup. The <HTML> should be the first thing in your code (if no <!DOCTYPE> is used) and </HTML> should be the last thing in your code. There are no commands inside <HTML> unless you are using Style Sheets. Syntax: <html> The <I> Tag is for Italics. Everything in between <I> </I> is shown as Italics, much like the <EM> and <DFN> Tags. Syntax: <i>this text is italicized<i>
The <IMG> Tag is for Images. There are several commands for this, so here is a list: ALIGN left or right
- Aligns to the side and wraps the text above, around, and below
it. Alternative text instead of the graphic. This text is shown if the user has graphics turned off, or it's a text-based browser like Lynx. <img src="logo.gif"
ALT="Logo"> ISMAP Identifies the Image as an Imagemap. SRC The source of the image, meaning where it is and what it's name is. <img src="logo.gif"> HEIGHT and WIDTH Specifies the height and width of the image. If the real height and width are specified, it loads faster than one without the dimensions, because the browser doesn't have to calculate it after downloading. <img src="logo.gif" width="50" height="154"> The height and width doesn't have to be it's real values. For example, if I wanted a smaller signature-type footer that's the same as my header, I could use the same image, only the height and width would be specified smaller (and thus would be faster than loading 2 images). <img src="logo.gif" width="21" height="100"> BORDER Specifies the Border thickness in pixels, including 0. This is also useful for images that are links, with no border. Example: <img src="logo.gif" width="21" height="100" border="0"> VSPACE and HSPACE Specifies vertical and horizontal space around the image. This is useful for aligned images so the text will be a little padded and not wrap against the image. Example: <img src="logo.gif" align="right" width="21" height="100" vspace="5" hspace="5"> LOWSRC Specifies a low resolution/color image instead or before the SRC. Most browsers will load the LOWSRC, then the rest of the text and images, then load the SRC last. Example: <img src="logo.gif" width="21" height="100" lowsrc="16color.gif"> NATURALSIZEFLAG This is an Adobe PageMill/SiteMill "special" generated by this program and only this program. It allows PageMill to resize pictures, but it doesn't change the appearance of the page as all browsers ignore it since it's not standard HTML.
The <INPUT> Tag is an Input, usually used within <FORM>. An <INPUT> is a field that can be edited by the user, and has several commands: ALIGN Vertical position of the image. For use only with TYPE=IMAGE. The ALIGN is the same as <IMG>. CHECKED Indicates that a checkbox or radio button is selected. Example in <FORM>. MAXLENGTH Indicates the maximum number of characters that can be entered into a text field. This can be greater than specified by the SIZE attribute, in which case the field will scroll appropriately. The default number of characters is unlimited. Example in <FORM> . Symbolic name used when transferring the form's contents. The NAME attribute is required for most input types and is normally used to provide a unique identifier for a field, or for a logically related group of fields. Example in <FORM>. SIZE Specifies the size or precision of the field according to its type. Example in <FORM>. SRC A URL specifying an image. For use only with TYPE=IMAGE. TYPE Defines the type of data the field accepts. Defaults to free text. Several types of fields can be defined with the TYPE attribute. Examples in <FORM>. CHECKBOX Used for simple Boolean attributes, or for attributes that can take multiple values at the same time. The latter is represented by a number of checkbox fields each of which has the same name. Each selected checkbox generates a separate name/value pair in the submitted data, even if this results in duplicate names. The default value for checkboxes is "on". Example in <FORM>. HIDDEN No field is presented to the user, but the content of the field is sent with the submitted form. This value may be used to transmit state information about client/server interaction. Example in <FORM>. IMAGE An image field upon which you can click with a pointing device, causing the form to be immediately submitted. The coordinates of the selected point are measured in pixel units from the upper-left corner of the image, and are returned (along with the other contents of the form) in two name/value pairs. The X-coordinate is submitted under the name of the field with .x appended, and the Y-coordinate is submitted under the name of the field with .y appended. Any VALUE attribute is ignored. The image itself is specified by the SRC attribute, exactly as for the <FORM> Tag. PASSWORD Same as the TEXT attribute, except that text is displayed as "********" instead of "password". RADIO Used for attributes that accept a single value from a set of alternatives. Each radio button field in the group should be given the same name. Only the selected radio button in the group generates a name/value pair in the submitted data. Radio buttons require an explicit VALUE attribute. Example in <FORM>. RESET Button that when pressed resets the form's fields to their specified initial values. The label to be displayed on the button may be specified just as for the SUBMIT button. Example in <FORM>. SUBMIT Button that when pressed submits the form. You can use the VALUE attribute to provide a non-editable label to be displayed on the button. The default label is application-specific. If a SUBMIT button is pressed in order to submit the form, and that button has a NAME attribute specified, then that button contributes a name/value pair to the submitted data. Otherwise, a SUBMIT button makes no contribution to the submitted data. Example in <FORM>. TEXT is used for a single line text entry fields. Use in conjunction with the SIZE and MAXLENGTH attributes. Use the TEXTAREA Tag for text fields which can accept multiple lines. Example in <FORM>. TEXTAREA Used for multiple-line text-entry fields. Use in conjunction with the SIZE and MAXLENGTH attributes. Example in <FORM>. NAME The field reported to the Form, required by the Form's ACTION. ROWS The number of rows the TEXTAREA takes up. COLS The number of columns the TEXTAREA takes up. WRAP Specifies the word wrap effect. The minimum browser version that support this is Netscape 2.0 (for IE 4.0, VIRTUAL is default). The options are: OFF Default, no wrap is sent. VIRTUAL Long lines are sent as one line but wraps in the TEXTAREA. PHYSICAL The text is transmitted at all wrap points. FILE Netscape supports a FILE option to the TYPE attribute of the INPUT element, allowing an ACCEPT attribute for the INPUT element (which is a list of media types or type patterns allowed for the input) and allowing the ENCTYPE of a from to be: multipart/form-data This allows the inclusion of files with form information, which could prove valuable for companies providing tech support, service providers, etc., requesting data files. Don't worry if this doesn't make sense, your System Administrator should understand. VALUE The initial displayed value of the field, if it displays a textual or numerical value; or the value to be returned when the field is selected, if it displays a Boolean value. This attribute is required for radio buttons. Example in <FORM>.
The <ISINDEX> Tag tells the HTML user agent that the document is an index document. As well as reading it, the reader can use a keyword search. The <ISINDEX> element is usually generated automatically by a server. If added manually to a HTML document, the HTML user agent assumes that the server can handle a search on the document. To use the <ISINDEX> element, the server must have a search engine that supports this element. The <KBD> Tag indicates typed text, and functions and acts the same as <TT>. Syntax: <kbd>This is a keyboard type<kbd> The <LI> Tag is a List Item, and is used inside <MENU>, <DIR>, <OL>, and <UL>. Depending on the type of list, the <LI> will look like a numeric value, or a bulleted value. Syntax: <ul>
The <LINK> Tag shows the relationship between documents, and can be part of the <HEAD> Tag. It can contain as many <LINK> Tags as desired. The Link Tag can also be used to point to an external Style Sheet to be used within HTML. Using standard Anchor commands, the style sheet is referenced as: Syntax: <link rel="stylesheet" type="text/css" href="http://www.AmaHosting.com/stylesheet" title="stylesheet">
The <LISTING> shows text in a small fixed-width style, similar to <PRE> but in the latest browsers is displayed smaller. Syntax: <LISTING> The <MAP> Tag is used within an Imagemap and describes each region in the image and where the region links to. The command inside <MAP> is <AREA>. Syntax: <map
name="sitemap">
The <MENU> Tag is also used for lists and the <LI> Tag goes inside. <MENU> acts much like <DIR> and <UL>. I recommend using <UL>, it's the most-widely used and supported. Syntax: <menu>
The <META> Tag is used to embed information not contained in other HTML Tags or elements, for example to identify, index, and catalog documents. There are two main commands, MAIN and HTTP-EQUIV. The <META> Tag goes between the <HEAD> Tag and usually after the <TITLE> Tag: Syntax: <head> One use of the <META> Tag is to reload or redirect an HTML Page. This is an example of a Client Pull. Syntax: <META HTTP-EQUIV="Refresh" CONTENT="60"> The CONTENT is in seconds and in this case would reload the page after 1 minute. If you add a ; URL=http://www.AmaHosting.com, it would automatically go to another URL after 5 seconds. I'm sure you have seen "This page has moved, automatically sending you there" pages, this is how it's done. Syntax: <META HTTP-EQUIV="Refresh" CONTENT="5; URL=http://www.AmaHosting.com"> You might want to include information about the document, such as keywords for indexing, the name of the author, and so on. This can be done with the NAME followed by CONTENT: Syntax: <META NAME="author"
CONTENT="AmaHosting"> The attribute NAME refers to user-selected names, while HTTP-EQUIV means that the value has a real equivalent header in the HTTP protocol. Again, this is only really useful given tools for processing these data. At present, there are quite a few search engines and other tools that take advantage of <META>. The <NEXTID> Tag is used by some text editors to identify HTML pages (as reference). It's basically an old Tag and is skipped by most Browsers.
The <NOBR> Tag is used to tell the text not to break, to force a single line of text. Syntax: <nobr>This text is forced to stay on one line, and should be used with caution because it would cause the user to have to scroll left and right to read the line of text....
The <NOSCRIPT> Tag which allows authors to write alternative content for those users who browse with Javascript capabilities disabled in the browser, or for those using non-Javascript browsers. Syntax: <noscript> The <OBJECT> Tag is used to add ActiveX controls to HTML Pages.
The <OL> Tag is used as Ordered Lists, and creates a number-type list. Within Ordered Lists are <LI> List Tags. Syntax: <ol>
The <OPTION> Tag is used in a <FORM>, after <SELECT>. It has 2 commands: SELECTED - Initially
selects the option. <option value="example">Example</option> The <P> Tag is used for a paragraph, one of the most popular Tags in HTML. It has 3 commands within the ALIGN command, LEFT, CENTER, and RIGHT, the first is default. Syntax: <P ALIGN="CENTER">This text will be a new paragraph and it will be centered.</P>
The <PLAINTEXT> Tag is used for formatting the enclosed text as plain, similar to <TT> and <PRE>. I would recommend either of the two instead of <PLAINTEXT>, since Internet Explorer and Netscape have different implementations of it. In Internet Explorer, a closing </PLAINTEXT> will allow HTML Tags. In Netscape, anything below the <PLAINTEXT> Tag will not allow any HTML Tags.
The <PRE> Tag is used for Formatted Text. Anything between <PRE></PRE> is formatted text, usually fixed-width. You can use HTML Tags as long as they follow these guidelines: <BR> moves
to the beginning of the next line. This
text will appear as is . The <S> and <STRIKE> Tags are used to strike out text. They are identical (for now), but FrontPage 98 seems to like to use <STRIKE> better. Syntax: <S>This text will have a line through it<S> <STRIKE>So will this text<STRIKE> The <SAMP> Tag is used to display sample text. Everything between <SAMP></SAMP> displays as <TT> and <PRE> Tags do.
The <SCRIPT> Tag is for scripts, for Netscape it's usually used for Javascript, for Internet Explorer it's usually used for VBScript (Visual Basic Script). The text of a script is inserted between <SCRIPT></SCRIPT> and is specified in the LANGUAGE command. Syntax: <head>
The <SELECT> Tag is used in a <FORM>, and allows the user to choose from a list of <OPTION> Tags. It has 3 commands: MULTIPLE - Allows
several selections. <select
name="Heard_About_From" size="3">
The <SMALL> Tag is used to format the text one size smaller, and can be in relation to your <FONT> or <BASEFONT> size, if you've specified either one. The obvious opposite of this is <BIG>. Syntax: <SMALL>This
text will be one size smaller</SMALL>
The <SOUND> Tag is used for sound, and is an old Mosiac Browser Tag. Syntax: <sound src="song.wav">
The <SPACER> Tag is for Netscape only and used to create a blank space on a page. The commands are: TYPE - Specifies
HORIZONTAL, VERTICAL, or BLOCK.HORIZONTAL - Puts a white space in
between words. <spacer type="block" height="50" width="150" align="left"> AmaHosting is one of the leaders in Web Hosting. Our packages offer unmatched value and convenience...
The <SPAN> Tag is used with Style Sheets to apply a style to a page where use of standard HTML Tags is not needed or wanted. For example, it may be useful for text to be highlighted by rendering it with a different background color. For text such as this, using a standard HTML element such as <EM> with an applied style, would possibly be inappropriate, because browsers that don't support style sheets would render the text as italicized. The <SPAN> Tag is recommended in such situations as other browsers simply ignore it. The <SPAN> Tag can be used within text blocks to apply a style as defined in a Style Sheet, according to a CLASS or ID attribute, or the STYLE can be specified within the <SPAN> Tag. As with other elements used within the <BODY< of a HTML document, <SPAN> can also have a certain style applied to it in the style sheet definition. Syntax: .bluetext : { color : #0000FF} has been defined in a Style Sheet, then the following: <p>I don't like the new <SPAN CLASS="bluetext">blue M&M's</SPAN>. They should be a cooler color, like purple!</p> This would render the blue M&M's text in blue, or this: <p>I don't like the new <SPAN STYLE="color : #0000FF">blue M&M's</SPAN>. They should be a cooler color, like purple!</p> would do the same.
The <STRONG> Tag is used to make text strong, or bold, in fact it functions identical to <B>. FrontPage 98 typically uses the <STRONG> Tag instead of <B>. Syntax: <STRONG>This text will be bold.</STRONG>
The <STYLE> Tag is used for Style Sheets. The TYPE and TITLE commands can be used. TYPE is used to specify the Internet media (MIME) type of the style sheet definition, which is "text/css". TITLE can be used to provide a title for the Style Sheet definitions. This may be used by browsers when a choice of Style Sheets are available. Syntax: <head>
The <SUB> Tag is used for Subscript text. Subscript text is displayed below and smaller than normal text, and can be smaller if you specify a <FONT> size. Syntax: This text is <sub>subscript<sub> and is lower than normal text
The <SUP> Tag is used for Superscript text. Superscript text is displayed above and smaller than normal text, and can be smaller if you specify a <FONT> size. Syntax: This text is <sup>superscript</sup> and is higher than normal text. The<TABLE> Tag is used for Tables consisting of rows and columns. Tables are one of the most functional thing in HTML and can be used to create a spectrum of effects and layout control. Syntax: <TABLE>
The <TBODY> Tag is an Internet Explorer-only Tag and is used to set the body display inside the <TABLE> (link colors, background, etc.), in fact the commands are almost identical to the commands that can be used in <BODY>. Syntax: <TBODY TEXT="BLACK" LINK="BLUE" VLINK="PURPLE" BGCOLOR="WHITE">
The <TD> Tag is used in <TABLE> for Table Data, which is a single cell inside a Table Row (<TR>). Syntax: See <TABLE> syntax above.
The <TH> Tag is used for Table Heading, which is a single, bold text cell inside a row: Syntax: <TABLE>
The <TITLE> Tag is used for the title of your page. This also presents itself as Window titles or labels. The <TITLE> is the only required Tag inside <HEAD>. Syntax: <HTML>
The <TR> Tag is used for the start of Table Rows, with <TD> inside them which puts the cells inside the Rows. Syntax: <TABLE>
The <TT> Tag is used for "typetype" text, or fixed-width typewriter-type font. Other than the different type style, it has normal font characteristics. Syntax: <TT>This text will appear in typerwriter-type font.</TT> The <U> Tag is used to underline text. Syntax: <U>This text will be underlined.</U>
The <UL> Tag is used for Unordered Lists, which look like bulleted lists. The <LI> Tag is preceded by each list item. <UL> acts much like <DIR> and <MENU>. I recommend using <UL>, it's the most-widely used and supported. Syntax: <UL>
The <VAR> Tag is used for a Variable name. Syntax: My host is <VAR>AmaHosting<VAR>, they're the best. The <WBR> Tag is used for a Word Break, when a <NOBR> section requires an exact break. Also, it can be used any time the browser can be helped by telling it where a word is allowed to be broken. The <WBR> Tag doesn't force a <BR>, but lets the browser know where a line break is allowed to be inserted, if needed. The <XMP> Tag is used for blocks of text in fixed-width font, like <PRE> and <LISTING>. It will be displayed as fixed-width font with white space separating it from other text. It should be rendered such that 80 characters fit on a normal line. Syntax: This is the last <XMP> HTML
Tag
Special Characters.
HTML - Reference (Special Characters).
Basic Design Tips.
Basic Website Design Concerns Unlike with other mediums, the website designer can not think about appearance first. Infact, it's last on the list of design concerns for a website! The main reason for this is simple - the internet is the first truely interactive and dynamic medium. This is because of the control the end-user (the person browsing the internet) has. The
end-user controls text size, font, the ability to turn on and off
graphics. And, of course, the direction or order the pages of a website
will be viewed. Since designers are unable to control these elements,
they need to approach website design in a very different manner. This
doesn't mean that appearance doesn't matter, it just means that it
isn't the only important concern. Speed - the first design concern for website designers. Why? If a site takes too long to download, no one will wait for it to finish. This means all of the time spent designing and creating will be wasted since no one will ever see your creation. How a designer should address this concern;
A good website designer always remembers that not everyone has a new system. Some end-users will be viewing the site with older, slower modems as well as older, more limited computer systems. Usability - the second concern for website designers. Why? If a site is hard to navigate, users can't find the info they came for, or worse yet, find themselves going in circles they won't stay and won't come back. How a designer should address this concern;
Appearance - the final concern. Appearance, though the last concern, is extremely important on the internet. Since the end-user will form an opinion of you from your website, it is important for you to achieve a "look" that will project the image you want. A designer should address this concern by remembering:
As a website designer you have a responsibility to the end-users. They aren't just hits, they are user experiences. Everytime end-users come to your site they are experiencing the internet through your design. Also remember that it's not just a site, it's a service - if you treat your customers (end-users) badly, they won't be back! Basic Website Design Concerns Unlike with other mediums, the website designer can not think about appearance first. Infact, it's last on the list of design concerns for a website! The main reason for this is simple - the internet is the first truely interactive and dynamic medium. This is because of the control the end-user (the person browsing the internet) has. The
end-user controls text size, font, the ability to turn on and off
graphics. And, of course, the direction or order the pages of a website
will be viewed. Since designers are unable to control these elements,
they need to approach website design in a very different manner. This
doesn't mean that appearance doesn't matter, it just means that it
isn't the only important concern. Speed - the first design concern for website designers. Why? If a site takes too long to download, no one will wait for it to finish. This means all of the time spent designing and creating will be wasted since no one will ever see your creation. How a designer should address this concern;
A good website designer always remembers that not everyone has a new system. Some end-users will be viewing the site with older, slower modems as well as older, more limited computer systems. Usability - the second concern for website designers. Why? If a site is hard to navigate, users can't find the info they came for, or worse yet, find themselves going in circles they won't stay and won't come back. How a designer should address this concern;
Appearance - the final concern. Appearance, though the last concern, is extremely important on the internet. Since the end-user will form an opinion of you from your website, it is important for you to achieve a "look" that will project the image you want. A designer should address this concern by remembering:
As a website designer you have a responsibility to the end-users. They aren't just hits, they are user experiences. Everytime end-users come to your site they are experiencing the internet through your design. Also remember that it's not just a site, it's a service - if you treat your customers (end-users) badly, they won't be back!
The Designers Tools:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Lab Cultures
|
Research Library
|
Oddzone Experiments
|
Rat Lab Home
|
|