you are here: Home arrow HTML/CSS
HTML & CSS Tutorials
Using Anchors on websites
User Rating: / 2
HTML Basics
Saturday, 20 May 2006

Anchors allow you to specify a place on a page that you can link to, to move the page to that point without needing to scroll down.  This is very handy on pages that are very long with a lot of content.

Back to Top links

Just below the <body> tag add this code:

<a name="top" id="top"></a>

This adds an anchor at the top of the page.

To create a link to the top of the page you need to use this code:

<a xhref="http://skeletorscorpse.com/joomla/#top">Back to Top</a>

Page sections

You can also use anchors on main sections of your site.

Such as:

<a name="section 1" id="section1"></a>Section 1

To get to this section you need to add a link elsewhere on your page.

<a xhref="http://skeletorscorpse.com/joomla/#section1">Go to Section 1</a>

Anchor point on another page

You can also link to another section on a completely different page.

Add the anchor to the a page then in a different page add a link like this:

<a xhref="page5a.html#section1">Go to Section 1 on Page 5a</a>





Reddit!Del.icio.us!Google!Live!Facebook!Slashdot!Netscape!Technorati!StumbleUpon!Newsvine!Furl!Yahoo!Ma.gnolia!Squidoo!Free social bookmarking plugins and extensions for Joomla! websites!
 
Typical META tags
User Rating: / 0
HTML Basics
Saturday, 20 May 2006

Meta tags are on the out these days but some search engines still use them.

Here is a list of the more important meta tags:

  • Description
  • Keywords
  • Copyright
  • Revisit-After
  • Robots
  • Audience
  • Author 
Description

<meta name="description" content="Type a description of your site here.">

Keywords

<meta name="keywords" content="Keywords associated with your site, seperate with commas">

Copyright

<meta name="copyright" content="Copyright Company Name">

Revisit-After 

<meta name="revisit-after" content="Number of days (eg; 5 days)">

Robots  

<meta name="robots" content="Tells robots how to index your site. (eg; index,follow.  This means the bots will index the page then follow on from the links on that page.)">

 Author

<meta name="author" content="Name of the site Author">





Reddit!Del.icio.us!Google!Live!Facebook!Slashdot!Netscape!Technorati!StumbleUpon!Newsvine!Furl!Yahoo!Ma.gnolia!Squidoo!Free social bookmarking plugins and extensions for Joomla! websites!
 
Linking an external CSS to your website
User Rating: / 0
CSS Basics
Saturday, 20 May 2006

Intro

CSS = Cascading Style Sheet.

The support for CSS in all browsers is getting better and better.

How do I link an external CSS file?

Copy the CSS code from the <head> of your page and paste it in a new file with the extension .css

<link rel="stylesheet" type="text/css" xhref="style.css" />

Put this in your <head> section instead of your CSS code.

When you use an external CSS file you don't need the <style> </style> tags within the file.

The href points to where the stylesheet is located.

The /> at the end makes it XHTML complient.

Why use external CSS?

If all your pages use the same styling it will allow quicker loading times of pages as the CSS code is loaded once rather than being loaded everytime a new page is loaded.





Reddit!Del.icio.us!Google!Live!Facebook!Slashdot!Netscape!Technorati!StumbleUpon!Newsvine!Furl!Yahoo!Ma.gnolia!Squidoo!Free social bookmarking plugins and extensions for Joomla! websites!
 
Simple Borders around your images
User Rating: / 0
CSS Basics
Sunday, 23 April 2006

Simple Borders around your images

This tutorial with guide you through how to add a simple border around your images.





Reddit!Del.icio.us!Google!Live!Facebook!Slashdot!Netscape!Technorati!StumbleUpon!Newsvine!Furl!Yahoo!Ma.gnolia!Squidoo!Free social bookmarking plugins and extensions for Joomla! websites!
 
Navigation Button Rollover
User Rating: / 2
CSS Navigation
Friday, 03 March 2006

Rollover Navigation Button

This tutorial with guide you through how to make a rollover navigation button that we made in this tutorial





Reddit!Del.icio.us!Google!Live!Facebook!Slashdot!Netscape!Technorati!StumbleUpon!Newsvine!Furl!Yahoo!Ma.gnolia!Squidoo!Free social bookmarking plugins and extensions for Joomla! websites!
 
<< Start < Prev 1 2 3 4 Next > End >>

Results 19 - 27 of 29
Based on valid XHTML 1.0 and CSS 2.0 code design by:pixelsparadise.com