The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> What is meant by shorttag yes?, How do I correct it?
earthshaker
post Dec 27 2008, 03:36 AM
Post #1


Novice
**

Group: Members
Posts: 28
Joined: 23-November 08
Member No.: 7,176



I was trying something the page worked OK but I got a couple of shorttag yes warnings, after reading some stuff online I got the feeling the trailing slash was to be removed, well I tried it, but it made no difference
here is one incidence of the error
<a href="/Documents%20and%20Settings/My%20Website/image/5050redon.png"<a>
Please tell me what is wrong in clear concise terms, I just want to avoid this in the future.
R
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Frederiek
post Dec 27 2008, 04:21 AM
Post #2


Programming Fanatic
********

Group: Members
Posts: 1,866
Joined: 23-August 06
From: Europe
Member No.: 9



Don't worry about the "shorttag yes". That has to do with how the HTML markup is set up at the basis behind the scenes.

What you mainly need to understand is that most tags go in pairs, such as the A tag:
<a href="path/to/file">link</a>

See the FAQ at http://htmlhelp.com/faq/html/links.html#link-howto


--------------------
"The earth does not belong to Man, it is Man who belongs to the earth"
from Vue du ciel (in French)

"Leave scepticism to others and take action"
from HOME by Goodplanet

An inconvenient truth by Al Gore
User is online!PM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Dec 27 2008, 07:59 AM
Post #3


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 7,717
Joined: 9-August 06
Member No.: 6



And tags always start with "<" and ends with ">".

You have a start tag without the closing bracket
HTML
<a href="/Documents%20and%20Settings/My%20Website/image/5050redon.png"


followed by another start tag instead of an end tag.
HTML
<a>


--------------------
“Never go to excess, but let moderation be your guide.”
– Cicero
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 9th February 2010 - 04:49 AM