|
|
Jedi
regular
Reg'd: Sat
Posts: 1094
|
|
I have used the 'HTML Validation' tool to check my site for errors. It shows 3 errors, view here
Example:
Error Line 8 column 3877: required attribute "ALT" not specified.
...ww_Top100Climbing_com.gif" border="0"></a></p><p align="left"></p><p align="l
What I want to know is it the > in red above the bit that is missing from my code?
-------------------- Why Climb Mount Everest? 'Because Its There' - George Mallory 1922
Mount Everest The British Story
www.everest1953.co.uk
|
|
Wiggster
regular
Reg'd: Tue
Posts: 135
Loc: Yorkshire, UK
|
|
No it isn't.
The red part means that something has been missing in between the < and > part of the HTML.
When you have an image, you need to specify and ALT part, so that those users who cannot see the image (screen reader or those who have turned off images know what the image is about.
So your code should be Code:
...ww_Top100Climbing_com.gif" border="0" alt="imageofwhatever" title="titleofyourimage" />
|
Jedi
regular
Reg'd: Sat
Posts: 1094
|
|
Cheers mate!
-------------------- Why Climb Mount Everest? 'Because Its There' - George Mallory 1922
Mount Everest The British Story
www.everest1953.co.uk
|
Jedi
regular
Reg'd: Sat
Posts: 1094
|
|
One more thing, how or is it possible to put an ALT attribute onto my Counter?
Counter code looks like this: <img src="/tinc?key=ZOin0tFq">
Thanks again
-------------------- Why Climb Mount Everest? 'Because Its There' - George Mallory 1922
Mount Everest The British Story
www.everest1953.co.uk
|
Wiggster
regular
Reg'd: Tue
Posts: 135
Loc: Yorkshire, UK
|
|
Same code really.
Code:
<img src="/tinc?key=ZOin0tFq" alt="descriptionoftheimage">
|
Jedi
regular
Reg'd: Sat
Posts: 1094
|
|
Can someone please help me out and explain what this means, thanks.
Error Line 8 column 1409: document type does not allow element "P" here; missing one of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag. ...e="2"><p></p><p></p><font size="2"><p></p></font><p><strong><span style="font
-------------------- Why Climb Mount Everest? 'Because Its There' - George Mallory 1922
Mount Everest The British Story
www.everest1953.co.uk
|
Wiggster
regular
Reg'd: Tue
Posts: 135
Loc: Yorkshire, UK
|
|
why so many paragraph (<p>) tags?
they don't seem to be doing anything....
|
Jedi
regular
Reg'd: Sat
Posts: 1094
|
|
Hi Wiggster
I dont know why there are so many <p> tags. My site is built using a Sitebuilder and I have no access to most of the HTML.
If you take a look at my website (signature below) and go to the Facts page, click on 'page view source' you will see where that bit of code came from.
-------------------- Why Climb Mount Everest? 'Because Its There' - George Mallory 1922
Mount Everest The British Story
www.everest1953.co.uk
|
Wiggster
regular
Reg'd: Tue
Posts: 135
Loc: Yorkshire, UK
|
|
If you can remove some of those <p> tags it will remove almost all of your errors.
You have <p></p> that are not doing anything.
The other errors are simple ALT errors again.
When using images, it is wise to give the ALT and title tags within the image
Code:
<img src="myimage" width="50" height="50" alt="nameofmyimage" title="this is my image of something" />
|