The Realm
Hello!
Welcome to the Realm. You are seeing this message because you are a guest. If you are already a member please login on your account, if you are visiting us for the first time please register to contribute to the forum. You will need an account in order to read the messages and to post on the forum.

Thank you for your understanding, The Realm staff
The Realm
Hello!
Welcome to the Realm. You are seeing this message because you are a guest. If you are already a member please login on your account, if you are visiting us for the first time please register to contribute to the forum. You will need an account in order to read the messages and to post on the forum.

Thank you for your understanding, The Realm staff
The Realm
Would you like to react to this message? Create an account in a few clicks or log in to continue.

The Realm

Welcome to The Realm ~ Provehito In Altum
 
HomePortalGalleryLatest imagesSearchRegisterLog in

 

 Advanced HTML Codes

Go down 
2 posters
AuthorMessage
Luky
Admin
Admin
Luky


Male
Number of posts : 4090
Age : 35
Location : Bucharest, Romania
Life : Advanced HTML Codes 11101010
Points :
Advanced HTML Codes Left_bar_bleue5 / 1005 / 100Advanced HTML Codes Right_bar_bleue

Mood : Advanced HTML Codes 410
Registration date : 2007-08-01

Advanced HTML Codes Empty
PostSubject: Advanced HTML Codes   Advanced HTML Codes EmptyWed Sep 12, 2007 11:49 am

I suggest you that you should read the HTML Codes topic before you read this one since the following codes are based on the ones that were written in the first topic

Everywhere on the Web you will find pages that are formatted like newspaper pages using HTML columns.
HTML Layout - Using Tables
One very common practice with HTML, is to use HTML tables to format the layout of an HTML page.

A part of this page is formatted with two columns, like a newspaper page.

As you can see on this page, there is a left column and a right column.

This text is displayed in the left column.
An HTML is used to divide a part of this Web page into two columns.

The trick is to use a table without borders, and maybe a little extra cell-padding.

No matter how much text you add to this page, it will stay inside its column borders.

Same Layout - Color Added
One very common practice with HTML, is to use HTML tables to format the layout of an HTML page.

A part of this page is formatted with two columns, like a newspaper page.

As you can see at this page, there is a left column and a right column.
An HTML
is used to divide a part of this Web page into two columns.

This text is displayed in the right column.

The trick is to use a table without borders, and maybe a little extra cell-padding.

No matter how much text you add to this page, it will stay inside its column borders.

Examples

Dividing a part of an HTML page into table columns is very easy to do. To let you experiment with it, we have put together

Code:

<html>
<body>

<table border="0" width="100%" cellpadding="10">
<tr>

<td width="50%" valign="top">
This is some text. This is some text. This is some text. This is some text. This is some text.
</td>

<td width="50%" valign="top">
Another text. Another text. Another text. Another text. Another text. Another text. Another text.
</td>

</tr>
</table>

</body>
</html>
Back to top Go down
Luky
Admin
Admin
Luky


Male
Number of posts : 4090
Age : 35
Location : Bucharest, Romania
Life : Advanced HTML Codes 11101010
Points :
Advanced HTML Codes Left_bar_bleue5 / 1005 / 100Advanced HTML Codes Right_bar_bleue

Mood : Advanced HTML Codes 410
Registration date : 2007-08-01

Advanced HTML Codes Empty
PostSubject: Re: Advanced HTML Codes   Advanced HTML Codes EmptyFri Sep 14, 2007 2:53 am

Part 2



The tag in HTML is deprecated. It is supposed to be removed in a future version of HTML.

Even if a lot of people are using it, you should try to avoid it, and use styles instead.
The HTML Tag

With HTML code like this, you can specify both the size and the type of the browser output :


Code:

<html>
<body>

<p><font size="2" face="Verdana">
This is a paragraph.
</font></p>

<p><font size="5" face="Times">
This is another paragraph.
</font></p>

</body>
</html>

Font Attributes
Attribute Example Purpose
size="number" size="2" Defines the font size
size="+number" size="+1" Increases the font size
size="-number" size="-1" Decreases the font size
face="face-name" face="Times" Defines the font-name
color="color-value" color="#eeff00" Defines the font color
color="color-name" color="red" Defines the font color



The Tag Should NOT be Used

The tag is deprecated in the latest versions of HTML (HTML 4 and XHTML).

The World Wide Web Consortium (W3C) has removed the tag from its recommendations. In future versions of HTML, style sheets (CSS) will be used to define the layout and display properties of HTML elements.


The Right Way to Do It - With Styles

This example demonstrates how to set the font of a text:
Code:

<html>
<body>
<h1>A heading</h1>
<p>A paragraph</p>
</body>
</html>


This example demonstrates how to set the font size of a text:
Code:

<html>
<body>
<h1>A heading</h1>
<p>A paragraph</p>
</body>
</html>


This example demonstrates how to set the color of a text:

Code:

<html>
<body>
<h1>A heading</h1>
<p>A paragraph</p>
</body>
</html>

This example demonstrates how to set the font, font size, and font color of a text:

Code:

<html>
<body>
<p>
This is a paragraph with some text in it. This is a paragraph with some text in it. This is a paragraph with some text in it. This is a paragraph with some text in it.
</p>
</body>
</html>
Back to top Go down
record4
Senior Member
Senior Member
record4


Male
Number of posts : 251
Age : 53
Location : Raleigh, NC
Points :
Advanced HTML Codes Left_bar_bleue0 / 1000 / 100Advanced HTML Codes Right_bar_bleue

Registration date : 2007-08-05

Advanced HTML Codes Empty
PostSubject: Re: Advanced HTML Codes   Advanced HTML Codes EmptyFri Sep 14, 2007 4:02 am

That stuff is all greek to me
Back to top Go down
http://www.thedrunkidiots.com
Luky
Admin
Admin
Luky


Male
Number of posts : 4090
Age : 35
Location : Bucharest, Romania
Life : Advanced HTML Codes 11101010
Points :
Advanced HTML Codes Left_bar_bleue5 / 1005 / 100Advanced HTML Codes Right_bar_bleue

Mood : Advanced HTML Codes 410
Registration date : 2007-08-01

Advanced HTML Codes Empty
PostSubject: Re: Advanced HTML Codes   Advanced HTML Codes EmptyFri Sep 14, 2007 11:21 am

record4 wrote:
That stuff is all greek to me
Don't worry. I am sure that if you are a little bit careful you will learn a couple of things. But I suggest you read the HTML codes topic first since there you will find the basics.
Back to top Go down
Luky
Admin
Admin
Luky


Male
Number of posts : 4090
Age : 35
Location : Bucharest, Romania
Life : Advanced HTML Codes 11101010
Points :
Advanced HTML Codes Left_bar_bleue5 / 1005 / 100Advanced HTML Codes Right_bar_bleue

Mood : Advanced HTML Codes 410
Registration date : 2007-08-01

Advanced HTML Codes Empty
PostSubject: Re: Advanced HTML Codes   Advanced HTML Codes EmptySat Sep 15, 2007 6:36 am

Part 3

HTML 3.2 Was Very Wrong !

The original HTML was never intended to contain tags for formatting a document. HTML tags were intended to define the content of the document like:

Code:
<p>This is a paragraph</p>

<h1>This is a heading</h1>

When tags like and color attributes were added to the HTML 3.2 specification, it started a nightmare for web developers. Development of large web sites where fonts and color information had to be added to every single Web page, became a long, expensive and unduly painful process.
What is so Great About HTML 4.0 ?

In HTML 4.0 all formatting can be removed from the HTML document and stored in a separate style sheet.

Because HTML 4.0 separates the presentation from the document structure, we have what we always needed: Total control of presentation layout without messing up the document content.

Do not use presentation attributes inside your HTML tags if you can avoid it. Start using styles!

Prepare Yourself for XHTML

XHTML is the "new" HTML. The most important thing you can do is to start writing valid HTML 4.01. Also start writing your tags in lower case. Always close your tag elements. Never end a paragraph without </p>.

NOTE: The official HTML 4.01 recommends the use of lower case tags.
Note: I will also make a XHTML tutorial.
Back to top Go down
Luky
Admin
Admin
Luky


Male
Number of posts : 4090
Age : 35
Location : Bucharest, Romania
Life : Advanced HTML Codes 11101010
Points :
Advanced HTML Codes Left_bar_bleue5 / 1005 / 100Advanced HTML Codes Right_bar_bleue

Mood : Advanced HTML Codes 410
Registration date : 2007-08-01

Advanced HTML Codes Empty
PostSubject: Re: Advanced HTML Codes   Advanced HTML Codes EmptySat Sep 15, 2007 6:36 am

Part 4

How to Use Styles

When a browser reads a style sheet, it will format the document according to it. There are three ways of inserting a style sheet:
External Style Sheet

An external style sheet is ideal when the style is applied to many pages. With an external style sheet, you can change the look of an entire Web site by changing one file. Each page must link to the style sheet using the <link> tag. The <link> tag goes inside the head section.

Code:

<head>
<link>
</head>


Internal Style Sheet

An internal style sheet should be used when a single document has a unique style. You define internal styles in the head section with the
Code:
<style>
tag.

Code:

<head>
<style>
body {background-color: red}
p {margin-left: 20px}
</style>
</head>

Inline Styles

An inline style should be used when a unique style is to be applied to a single occurrence of an element.

To use inline styles you use the style attribute in the relevant tag. The style attribute can contain any CSS property. The example shows how to change the color and the left margin of a paragraph:
Code:

<p>
This is a paragraph
</p>

Code:

Style Tags
Tag    Description
<style>    Defines a style definition
<link>    Defines a resource reference
<div>    Defines a section in a document
<span>    Defines a section in a document
<font>    Deprecated. Use styles instead
<basefont>    Deprecated. Use styles instead
<center>    Deprecated. Use styles instead

The Head Element

The head element contains general information, also called meta-information, about a document. Meta means "information about".

You can say that meta-data means information about data, or meta-information means information about information.
Information Inside the Head Element

The elements inside the head element should not be displayed by a browser.

According to the HTML standard, only a few tags are legal inside the head section. These are:
Code:
<base>, <link>, <meta>, <title>, <style>, and <script>


Look at the following illegal construct:
Code:

<head>
  <p>This is some text</p>
</head>

In this case the browser has two options:

* Display the text because it is inside a paragraph element
* Hide the text because it is inside a head element

If you put an HTML element like
Code:
<h1> or <p>
inside a head element like this, most browsers will display it, even if it is illegal.
Code:

Head Tags
Tag              Description
<head>            Defines information about the document
<title>    Defines the document title
<base>            Defines a base URL for all the links on a page
<link>            Defines a resource reference
<meta>           Defines meta information

Tag            Description
<DOCTYPE>    Defines the document type. This tag goes before the <html> start tag.
Back to top Go down
Luky
Admin
Admin
Luky


Male
Number of posts : 4090
Age : 35
Location : Bucharest, Romania
Life : Advanced HTML Codes 11101010
Points :
Advanced HTML Codes Left_bar_bleue5 / 1005 / 100Advanced HTML Codes Right_bar_bleue

Mood : Advanced HTML Codes 410
Registration date : 2007-08-01

Advanced HTML Codes Empty
PostSubject: Re: Advanced HTML Codes   Advanced HTML Codes EmptySun Sep 16, 2007 7:07 am

Part 5

The Meta Element

As we explained in the previous chapter, the head element contains general information (meta-information) about a document.

HTML also includes a meta element that goes inside the head element. The purpose of the meta element is to provide meta-information about the document.

Most often the meta element is used to provide information that is relevant to browsers or search engines like describing the content of your document.

Note: W3C states that "Some user agents support the use of META to refresh the current page after a specified number of seconds, with the option of replacing it by a different URI. Authors should not use this technique to forward users to different pages, as this makes the page inaccessible to some users. Instead, automatic page forwarding should be done using server-side redirects"

Keywords for Search Engines

Some search engines on the WWW will use the name and content attributes of the meta tag to index your pages.
Code:

This meta element defines a description of your page:

<meta name="description" content="Free Web tutorials on HTML, CSS, XML, and XHTML">

Code:

This meta element defines keywords for your page:

<meta name="keywords" content="HTML, DHTML, CSS, XML, XHTML, JavaScript, VBScript">

The intention of the name and content attributes is to describe the content of a page.

However, since too many webmasters have used meta tags for spamming, like repeating keywords to give pages a higher ranking, some search engines have stopped using them entirely.

nknown Meta Attributes

Sometimes you will see meta attributes that are unknown to you like this:
Code:

<meta name="security" content="low">

Then you just have to accept that this is something unique to the site or to the author of the site, and that it has probably no relevance to you.
Back to top Go down
Luky
Admin
Admin
Luky


Male
Number of posts : 4090
Age : 35
Location : Bucharest, Romania
Life : Advanced HTML Codes 11101010
Points :
Advanced HTML Codes Left_bar_bleue5 / 1005 / 100Advanced HTML Codes Right_bar_bleue

Mood : Advanced HTML Codes 410
Registration date : 2007-08-01

Advanced HTML Codes Empty
PostSubject: Re: Advanced HTML Codes   Advanced HTML Codes EmptySun Sep 16, 2007 7:08 am

Part 6

HTML 4.01 / XHTML 1.0 Reference

Ordered Alphabetically

* NN: indicates the earliest version of Netscape that supports the tag
* IE: indicates the earliest version of Internet Explorer that supports the tag
* DTD: indicates in which XHTML 1.0 DTD the tag is allowed. S=Strict, T=Transitional, and F=Frameset


Code:

Tag                Description            NN                  IE    DTD
<!--...-->    Defines a comment            3.0                  3.0    STF
<!DOCTYPE>     Defines the document type                              STF
<a>            Defines an anchor            3.0                  3.0    STF
<abbr>     Defines an abbreviation     6.2                         STF
<acronym>    Defines an acronym            6.2                  4.0    STF
<address>    Defines an address element       4.0                  4.0    STF
<applet>    Deprecated. Defines an applet    2.0                  3.0    TF
<area>      Defines an area inside an image map    3.0                  3.0    STF
<b>    Defines bold text    3.0    3.0    STF
<base>    Defines a base URL for all the links in a page    3.0          3.0      STF
<basefont>    Deprecated. Defines a base font    3.0          3.0        TF
<bdo>    Defines the direction of text display    6.2                  5.0    STF
<big>            Defines big text            3.0                  3.0    STF
<blockquote>    Defines a long quotation    3.0                  3.0    STF
<body>     Defines the body element    3.0                  3.0    STF
<br>            Inserts a single line break    3.0                  3.0    STF
<button>    Defines a push button            6.2                  4.0    STF
<caption>    Defines a table caption    3.0                  3.0    STF
<center>    Deprecated. Defines centered text 3.0                  3.0    TF
<cite>            Defines a citation            3.0                  3.0    STF
<code>            Defines computer code text    3.0                  3.0    STF
<col>            Defines attributes for table columns                3.0    STF
<colgroup>    Defines groups of table columns               3.0    STF
<dd>            Defines a definition description 3.0                  3.0    STF
<del>            Defines deleted text            6.2                  4.0    STF
<dir>            Deprecated. Defines a directory list    3.0          3.0    TF
<div>            Defines a section in a document 3.0                  3.0    STF
<dfn>            Defines a definition term                       3.0    STF
<dl>            Defines a definition list    3.0                  3.0    STF
<dt>            Defines a definition term    3.0                  3.0    STF
<em>            Defines emphasized text     3.0                  3.0    STF
<fieldset>    Defines a fieldset            6.2                  4.0    STF
<font>    Deprecated. Defines text font, size, and color    3.0          3.0    TF
<form>     Defines a form             3.0                  3.0    STF
<frame>    Defines a sub window (a frame)    3.0                  3.0    F
<frameset>    Defines a set of frames    3.0                  3.0    F
<h1> to <h6>    Defines header 1 to header 6    3.0                  3.0    STF
<head>            Defines information about the document    3.0          3.0    STF
<hr>            Defines a horizontal rule    3.0                  3.0    STF
<html>     Defines an html document    3.0                  3.0    STF
<i>            Defines italic text            3.0                  3.0    STF
<iframe>    Defines an inline sub window (frame)    6.0          4.0    TF
<img>            Defines an image            3.0                  3.0      STF
<input>    Defines an input field            3.0                  3.0    STF
<ins>           Defines inserted text       6.2                  4.0    STF
<isindex>    Deprecated. Defines a single-line input field    3.0  3.0     TF
<kbd>            Defines keyboard text            3.0                  3.0    STF
<label>    Defines a label for a form control      6.2          4.0    STF
<legend>    Defines a title in a fieldset    6.2                  4.0    STF
<li>            Defines a list item            3.0                  3.0    STF
<link>            Defines a resource reference    4.0                  3.0    STF
<map>            Defines an image map             3.0                  3.0    STF
<menu>            Deprecated. Defines a menu list 3.0                  3.0    TF
<meta>            Defines meta information    3.0                  3.0    STF
<noframes>    Defines a noframe section    3.0                  3.0    TF
<noscript>    Defines a noscript section    3.0                  3.0    STF
<object>    Defines an embedded object                       3.0    STF
<ol>            Defines an ordered list    3.0                  3.0    STF
<optgroup>    Defines an option group    6.0                  6.0    STF
<option>    Defines an option in a drop-down list    3.0          3.0    STF
<p>            Defines a paragraph            3.0                  3.0    STF
<param>    Defines a parameter for an object 3.0                  3.0    STF
<pre>             Defines preformatted text    3.0                  3.0    STF
<q>            Defines a short quotation                          6.2   STF
<s>            Deprecated. Defines strikethrough text    3.0          3.0    TF
<samp>            Defines sample computer code    3.0                  3.0    STF
<script>    Defines a script            3.0                  3.0    STF
<select>    Defines a selectable list    3.0                  3.0    STF
<small>    Defines small text            3.0                  3.0    STF
<span>            Defines a section in a document 4.0                  3.0    STF
<strike>    Deprecated. Defines strikethrough text    3.0          3.0    TF
<strong>    Defines strong text    3.0                          3.0    STF
<style>    Defines a style definition    4.0                  3.0    STF
<sub>            Defines subscripted text    3.0                  3.0    STF
<sup>            Defines superscripted text    3.0                  3.0    STF
<table>     Defines a table            3.0                  3.0    STF
<tbody>    Defines a table body                               4.0    STF
<td>         Defines a table cell            3.0                  3.0    STF
<textarea>    Defines a text area            3.0                  3.0    STF
<tfoot>    Defines a table footer                               4.0    STF
<th>            Defines a table header            3.0                  3.0    STF
<thead>    Defines a table header                               4.0    STF
<title>    Defines the document title    3.0                  3.0    STF
<tr>            Defines a table row            3.0                  3.0    STF
<tt>            Defines teletype text            3.0                  3.0    STF
<u>            Deprecated. Defines underlined text    3.0          3.0    TF
<ul>            Defines an unordered list    3.0                  3.0    STF
<var>            Defines a variable            3.0                  3.0    STF
<xmp>            Deprecated. Defines preformatted text    3.0          3.0    

Back to top Go down
Luky
Admin
Admin
Luky


Male
Number of posts : 4090
Age : 35
Location : Bucharest, Romania
Life : Advanced HTML Codes 11101010
Points :
Advanced HTML Codes Left_bar_bleue5 / 1005 / 100Advanced HTML Codes Right_bar_bleue

Mood : Advanced HTML Codes 410
Registration date : 2007-08-01

Advanced HTML Codes Empty
PostSubject: Re: Advanced HTML Codes   Advanced HTML Codes EmptyMon Sep 17, 2007 1:30 pm

Part 7

HTML Uniform Resource Locators(HTML URL)

HTML Links

When you click on a link in an HTML document link an underlying tag points to a place (an address) on the Web with an href attribute value like this:
Code:
<a href="lastpage.htm">Last Page</a>
.

Uniform Resource Locators

Something called a Uniform Resource Locator (URL) is used to address a document (or other data) on the World Wide Web. A full Web address like this:
www.freewebs.com/luky5550/therealm.htm follows these syntax rules:

scheme://host.domain:port/path/filename
The scheme is defining the type of Internet service. The most common type is http.
URL Schemes

The domain is defining the Internet domain name like freewebs.com.

The host is defining the domain host. If omitted, the default host for http is www.

The :port is defining the port number at the host. The port number is normally omitted. The default port number for http is 80.

The path is defining a path (a sub directory) at the server. If the path is omitted, the resource (the document) must be located at the root directory of the Web site.

The filename is defining the name of a document. The default filename might be default.asp, or index.html or something else depending on the settings of the Web server.

URL Schemes

Some examples of the most common schemes can be found below:
Code:

Schemes    Access
file          a file on your local PC
ftp          a file on an FTP server
http          a file on a World Wide Web Server
gopher        a file on a Gopher server
news          a Usenet newsgroup
telnet        a Telnet connection
WAIS          a file on a WAIS server


Accessing a Newsgroup

The following HTML code:

Code:
<a href="news:alt.html">HTML Newsgroup</a>

creates a link to a newsgroup

Link to your Mail system

The following HTML code:

Code:
<a href="mailto:someone@luky5550.com">someone@luky5550.com</a>

creates a link to your own mail system
Back to top Go down
Luky
Admin
Admin
Luky


Male
Number of posts : 4090
Age : 35
Location : Bucharest, Romania
Life : Advanced HTML Codes 11101010
Points :
Advanced HTML Codes Left_bar_bleue5 / 1005 / 100Advanced HTML Codes Right_bar_bleue

Mood : Advanced HTML Codes 410
Registration date : 2007-08-01

Advanced HTML Codes Empty
PostSubject: Re: Advanced HTML Codes   Advanced HTML Codes EmptyWed Sep 19, 2007 5:21 pm

Part 8
Add scripts to HTML pages to make them more dynamic and interactive.
Insert a Script into HTML Page

A script in HTML is defined with the <script> tag. Note that you will have to use the type attribute to specify the scripting language.

Code:

<html>
<head>
</head>
<body>

<script>
document.write("Hello World!")
</script>

</body>
</html>
How to Handle Older Browsers

A browser that does not recognize the <script> tag at all, will display the <script> tag's content as text on the page. To prevent the browser from doing this, you should hide the script in comment tags. An old browser (that does not recognize the <script> tag) will ignore the comment and it will not write the tag's content on the page, while a new browser will understand that the script should be executed, even if it is surrounded by comment tags.
Example
Code:

JavaScript:
<script>
<document>
</script>

VBScript:
<script>
</script>
</script>
<noscript>Your browser does not support VBScript!</noscript>

Code:

Script Tags
Tag    Description
<script>    Defines a script
<noscript>    Defines an alternate text if the script is not executed
<object>    Defines an embedded object
<param>    Defines run-time settings (parameters) for an object
<applet>    Deprecated. Use <object> instead
Back to top Go down
Luky
Admin
Admin
Luky


Male
Number of posts : 4090
Age : 35
Location : Bucharest, Romania
Life : Advanced HTML Codes 11101010
Points :
Advanced HTML Codes Left_bar_bleue5 / 1005 / 100Advanced HTML Codes Right_bar_bleue

Mood : Advanced HTML Codes 410
Registration date : 2007-08-01

Advanced HTML Codes Empty
PostSubject: Re: Advanced HTML Codes   Advanced HTML Codes EmptyThu Sep 20, 2007 4:33 pm

Part 9
HTML tags can have attributes. The special attributes for each tag are listed under each tag description. The attributes listed here are the core and language attributes that are standard for all tags (with a few exceptions):
Core Attributes

Not valid in base, head, html, meta, param, script, style, and title elements.
Code:

Attribute    Value    Description
class    class_rule or style_rule    The class of the element
id    id_name    A unique id for the element
style    style_definition    An inline style definition
title    tooltip_text     A text to display in a tool tip

Language Attributes

Not valid in base, br, frame, frameset, hr, iframe, param, and script elements.
Code:

Attribute    Value    Description
dir    ltr | rtl    Sets the text direction
lang    language_code    Sets the language code


Keyboard Attributes

Code:

Attribute    Value    Description
accesskey    character    Sets a keyboard shortcut to access an element
tabindex    number    Sets the tab order of an element
Back to top Go down
Luky
Admin
Admin
Luky


Male
Number of posts : 4090
Age : 35
Location : Bucharest, Romania
Life : Advanced HTML Codes 11101010
Points :
Advanced HTML Codes Left_bar_bleue5 / 1005 / 100Advanced HTML Codes Right_bar_bleue

Mood : Advanced HTML Codes 410
Registration date : 2007-08-01

Advanced HTML Codes Empty
PostSubject: Re: Advanced HTML Codes   Advanced HTML Codes EmptyFri Oct 12, 2007 10:00 am

Part 10

New to HTML 4.0 is the ability to let HTML events trigger actions in the browser, like starting a JavaScript when a user clicks on an HTML element. Below is a list of attributes that can be inserted into HTML tags to define event actions.

Window Events

Only valid in body and frameset elements.
Code:

Attribute    Value    Description
onload    script    Script to be run when a document loads
onunload    script    Script to be run when a document unloads

Form Element Events

Only valid in form elements.

Code:

Attribute    Value    Description
onchange    script    Script to be run when the element changes
onsubmit    script    Script to be run when the form is submitted
onreset    script    Script to be run when the form is reset
onselect    script      Script to be run when the element is selected
onblur    script      Script to be run when the element loses focus
onfocus    script      Script to be run when the element gets focus


Keyboard Events

Not valid in base, bdo, br, frame, frameset, head, html, iframe, meta, param, script, style, and title elements.

Code:

Attribute    Value    Description
onkeydown    script      What to do when key is pressed
onkeypress    script      What to do when key is pressed and released
onkeyup    script      What to do when key is released

Mouse Events

Not valid in base, bdo, br, frame, frameset, head, html, iframe, meta, param, script, style, title elements.
Code:

Attribute    Value    Description
onclick    script      What to do on a mouse click
ondblclick    script      What to do on a mouse double-click
onmousedown    script      What to do when mouse button is pressed
onmousemove    script      What to do when mouse pointer moves
onmouseout    script    What to do when mouse pointer moves out of an element
onmouseover    script    What to do when mouse pointer moves over an element
onmouseup    script      What to do when mouse button is released

Back to top Go down
Luky
Admin
Admin
Luky


Male
Number of posts : 4090
Age : 35
Location : Bucharest, Romania
Life : Advanced HTML Codes 11101010
Points :
Advanced HTML Codes Left_bar_bleue5 / 1005 / 100Advanced HTML Codes Right_bar_bleue

Mood : Advanced HTML Codes 410
Registration date : 2007-08-01

Advanced HTML Codes Empty
PostSubject: Re: Advanced HTML Codes   Advanced HTML Codes EmptyFri Oct 12, 2007 10:15 am

Part 11

Your First Step: A Personal Web Server

* If you want other people to view your pages, you must publish them.
* To publish your work, you have to copy your files to a web server.
* Your own PC can act as a web server if it is connected to a network.
* If you are running Windows 98, you can use the PWS (Personal Web Server).
* PWS is hiding in the PWS folder in your Windows CD.


Personal Web Server (PWS)

PWS turns any Windows computer into a Web server. PWS is easy to install and ideal for developing and testing Web applications. PWS has been optimized for workstation use, but has all the requirements of a full Web server. It also runs Active Server Pages (ASP) just like its larger brother IIS.

How to Install a Personal Web Server (PWS):

* Browse your Windows installation to see if you have installed PWS.
* If not, install PWS from the PWS directory on your Windows CD.
* Follow the instructions and get your Personal Web Server up and running.

Note: Microsoft Windows XP Home Edition does not come with the option to turn your computer into a PWS!

Internet Information Server (IIS)

Windows 2000's built-in Web server IIS, makes it easy to build large applications for the Web. Both PWS and IIS include ASP, a server-side scripting standard that can be used to create dynamic and interactive Web applications. IIS is also available for Windows NT.




HTML Summary

This tutorial has taught you how to use HTML to create your own web site.

HTML is the universal markup language for the Web. HTML lets you format text, add graphics, create links, input forms, frames and tables, etc., and save it all in a text file that any browser can read and display.

The key to HTML is the tags, which indicates what content is coming up.

Now You Know HTML, What's Next?

The next step is to learn XHTML and CSS.

XHTML

XHTML is the "new" HTML. The latest HTML recommendation is HTML 4.01. This is the last and final HTML version.

HTML will be replaced by XHTML, which is a stricter and cleaner version of HTML.

CSS

CSS is used to control the style and layout of multiple Web pages all at once.

With CSS, all formatting can be removed from the HTML document and stored in a separate file.

CSS gives you total control of the layout, without messing up the document content.

Note: I will start a XHTML tutorial soon!
Back to top Go down
Guest
Guest




Advanced HTML Codes Empty
PostSubject: Re: Advanced HTML Codes   Advanced HTML Codes EmptyFri Oct 12, 2007 2:43 pm

Sweet,I know where I'll be pssing the nigt Advanced HTML Codes Prodigy
Back to top Go down
Luky
Admin
Admin
Luky


Male
Number of posts : 4090
Age : 35
Location : Bucharest, Romania
Life : Advanced HTML Codes 11101010
Points :
Advanced HTML Codes Left_bar_bleue5 / 1005 / 100Advanced HTML Codes Right_bar_bleue

Mood : Advanced HTML Codes 410
Registration date : 2007-08-01

Advanced HTML Codes Empty
PostSubject: Re: Advanced HTML Codes   Advanced HTML Codes EmptySat Oct 13, 2007 10:18 am

Caihlem wrote:
Sweet,I know where I'll be pssing the nigt Advanced HTML Codes Prodigy

Sorry, but I don't understand what you wanted to say. I mean I don't understand what does pssing the nigt means? Did you misspeled?
Back to top Go down
Guest
Guest




Advanced HTML Codes Empty
PostSubject: Re: Advanced HTML Codes   Advanced HTML Codes EmptySat Oct 13, 2007 5:43 pm

night Advanced HTML Codes Sweat

As in I spent an hor or two reading through the posts above Smile
Back to top Go down
Luky
Admin
Admin
Luky


Male
Number of posts : 4090
Age : 35
Location : Bucharest, Romania
Life : Advanced HTML Codes 11101010
Points :
Advanced HTML Codes Left_bar_bleue5 / 1005 / 100Advanced HTML Codes Right_bar_bleue

Mood : Advanced HTML Codes 410
Registration date : 2007-08-01

Advanced HTML Codes Empty
PostSubject: Re: Advanced HTML Codes   Advanced HTML Codes EmptySat Oct 13, 2007 6:08 pm

Oh. Ok . Now I understand what you mean
Back to top Go down
Sponsored content





Advanced HTML Codes Empty
PostSubject: Re: Advanced HTML Codes   Advanced HTML Codes Empty

Back to top Go down
 
Advanced HTML Codes
Back to top 
Page 1 of 1
 Similar topics
-
» HTML Codes
» BB Codes Guide
» Smiley Codes

Permissions in this forum:You cannot reply to topics in this forum
The Realm :: General :: Technical Corner-
Jump to: