g
Printer Friendly Version

editor  
BellaOnline's HTML Editor
 

HTML Elements and Attributes for Hyperlinks, Scripts and Style Sheets

Below is a list of the most commonly used*** html element tags that control an hyperlinks, scripts and styles sheets on the webpage.

Note: Some attributes listed below have been depreciated in favor of Cascading Style Sheets.

HTML Elements and Attributes for Hyperlinks, Scripts and Style Sheets
ElementOpening TagAttributesClosing TagDescription
style<style>type="?"</style>Defines a style sheet

type - type of style sheet
script<script>language="?"
event="?"
for="?"
</script>Defines a script

language - script language
event - trigger for script
for - what script affects
a<a>href="?"
name="?"
</a>Creates a hyperlink on the webpage.

href -
The href attribute is required and supplies
1. the next page (URL)
2. the location on a page (#location)
3. an email link (mailto:your_email)

name -
The name attribute marks the location for the destination of a jump link (refers to #location)
***A complete list of html element tags can be found at the World Wide Web Consortium (W3C) website.
http://www.w3.org/TR/REC-html40/index/elements.html
**Color can be set using color names (red, black, etc) or RGB color codes or hexidecimal color codes.




This site needs an editor - click to learn more!

HTML Site @ BellaOnline
View This Article in Regular Layout

Content copyright © 2013 by Diane Cipollo. All rights reserved.
This content was written by Diane Cipollo. If you wish to use this content in any manner, you need written permission. Contact Editor Wanted for details.



| About BellaOnline | Privacy Policy | Advertising | Become an Editor |
Website copyright © 2023 Minerva WebWorks LLC. All rights reserved.


BellaOnline Editor