Webmaster Resources Center

Welcome to the Bravenet Resource Center. Use these resources to help make your web pages more advanced and fun to use.

Quick Reference Sheets for Webmasters

Quick Reference sheets are packed full of useful information for all webmasters.

HTML Reference Sheet

HTML Tag List


<a>
The anchor tag defines an anchor or link element which allows you to link from one document to another. With the anchor tag, you can also create a link to specific area of a document using name or id.

Attributes
charset
Value(s) : character encoding
Sets the type of character encoding for the target link.
coords
Value(s) :

rect shapes → left,top,right,bottom

circ shapes → centerx,centery,radius

poly shapes → x1,y1,x2,y2,..,xn,yn

Sets the coordinates for the shape attribute defined by an area of an image used in image maps.
href
Value(s) : URL
Sets the anchor tag to visit the target URL specified by the href attribute.
hreflang
Value(s) : language code
the hreflang attribute specifies the default language that will be used on the target URL.
name
Value(s) : section name
This will apply a name to an anchor tag. This name value has multiple purposes. It can allow dynamic scripting access to the anchor via the name or the name value can be used to create a link to a specific section of a document, either being a different document or the current one.
rel
Value(s) : alternate, appendix, bookmark, chapter, contents, copyright, designates, glossary, help, index, next, prev, section, subsection, start, stylesheet
This designates the relationship between the current page and the target document.
rev
Value(s) : same as rel
This designates the relationship between the target link and the current document.
shape
Value(s) : circ, circle, poly, polygon, rect, rectangle
This will set the type or shape of a region that will be used for mapping purposes in an area tag. Used in conjuction with the coords attribute.
target
Value(s) : _blank, _parent, _self, _top, frame name, window name
This attribute sets the target location of the URL. Each value starting with _ has various affects:
  • _blank - This will cause the browser to open a new window. NOTE: Pop-up blockers tend to prevent links using target _blank from opening.
  • _self - this will cause the browser to open the url in the current window. This is redundant unless used in combination with framesets.
  • _parent - the target link will open in the parent window. This is most commonly used in combination with framesets.
  • _top - this will make the browser open the target link in the full size of the current window, breaking the link out of frames.

frame name and window name values will open the link in the target frame or window containing the same name.

type
Value(s) : mime type
This specifies the MIME Type for the target link.
example:
<a href="pathto/some.html" target="_top">Frame Breaker</a>
outputs: