In my other blog HTML BASICS you will find the basics of HTML and commonly used "Tags", the basic set up and examples of how to implement them into your code.
I will show you the basic set up of an HTML document:
<html>
<!doctype>
<head>
<title>The title</title>
</head>
<body>
The content on your page.
This is the only content that shows.
</body>
</html>
LINKS:
Changing Color of link:
In the <body> tag type link="red" or what ever color you want the link to be. This will make all of your links red on the whole web page.
Example:
<body link="red">
To show a different color of the active links on the page, you can add within the <body> tag. alink="blue" Makes all active links blue on the whole web page.
Example:
<body alink="blue">
To show previously selected links on the page, you can add within the <body> tag. vlink="yellow" Makes all previously selected links yellow on the whole web page.
Example:
<body vlink="yellow">
So to make a link red, after you clicked it change to yellow, and while its active it will be blue. It would look like this, and it would have affect on all of the links on the whole web page. Unless changed by CSS.
Example:
<body link="red" alink="blue" vlink="yellow">
So to make a link red, after you clicked it change to yellow, and while its active it will be blue. It would look like this, and it would have affect on all of the links on the whole web page. Unless changed by CSS.
Example:
<body link="red" alink="blue" vlink="yellow">
ADD A EMAIL LINK TO YOUR PAGE:
To link to a Email you us the <a> tag. Put it in between the <body> tag and the </body> tag.
Example:
<body>
<a href="mailto:TheEmailAddress">
</body>
ADDING LINKS TO AUDIO AND VIDEO FILES:
To link to a audio file, you use a <a> tag.
Example:
<a href="NameandLocationofFile">What your want the link to read</a>
For adding a link to a video file you would do the same tag but instead of a audio file put the "name and location of file" as a video file.
EMBEDDING A VIDEO FILE ON YOUR WEBPAGE:
To make a video file play right on your page without having to go to another page.
You place it in between the <body> tag and </body> tag.
Example:
<body>
<embed src="NameandLocationofFile">
</body>
To change the width and hight of the video you place width and height attribute in the <embed src> tag.
Change the values to pixels or percentage you want. width="300px" height="300px"
Example:
<embed src="NameandLocationofFile" width="value" height="value">
To make the video start automatically you can place autostart in the code.
Example:
<embed src="NameandLocationofFile" width="value" height="value" autostart="true">
To make the video continuously play/repeat you can place the loop in the code.
Example:
<embed src="NameandLocationofFile" width="value" height="value" autostart="true" loop="true">
EMBEDDING A AUDIO FILE ON YOUR PAGE:
To make a audio file play right on your page without having to go to another page.
You place it in between the <body> tag and </body> tag.
Example:
<body>
<embed src="NameandLocationofFile">
</body>
You are going to need a Class ID of a plug in, you can search the web and find a Class ID for plug-ins.
The Class ID is going to be in a <object> tag. Then add the width and height.
<object classid="clsid: THIS IS WHERE YOUR CLASS ID GOES" width="200" height="30">
To change the width and hight of the audio file you place width and height attribute in the <embed src> tag.
Change the values to pixels or percentage you want. width="200" height="30"
Example:
<embed src="NameandLocationofFile" width="200" height="30">
Then you need to add:
<param name="src" value="NameandLocationofFile"/>
Then close it with a </object>
So the whole thing should look like this:
Example:
<body>
<object classid="clsid: THIS IS WHERE YOUR CLASS ID GOES" width="200" height="30">
<param name="src" value="NameandLocationofFile"/>
<embed src="NameandLocationofFile" width="200" height="30">
</object>
</body>
SO HERE IS A FEW ADVANCED HTML CODES.
WHAT ELSE DO YOU WANT TO KNOW?
POST A COMMENT ON THE PAGE IF YOU WANT TO KNOW SOMETHING ELSE.
OR CHECK OUT MY OTHER BLOG HTML BASICS LOTS OF OTHER BASIC HTML INFORMATION ON IT!
ALSO CHECK OUT THE POLL ON THE SIDE OF MY PAGE, VOTE! =]
HOPE THIS HELPED A LOT!!!