Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
NET-enabling start-tag requires SHORTTAG YES
Old 11-19-2007, 11:17 PM NET-enabling start-tag requires SHORTTAG YES
CapnChkn's Avatar
Average Talker

Posts: 17
Trades: 0
My actual question is, "Is it necessary to use a close at the end of tags that have no opening? (I.E. <br />?)" But, I will read anything you'all might have to say.

I've been reading about new standards for HTML, and I discover a slow transition or conversion to XHTML. This standard compares to HTML 4.1 in some way, but when I use the validator at:


It gives me errors! It calls me invalid! Then it gives me this string of incomprehensibility.

NET-enabling start-tag requires SHORTTAG YES

What gives? I'm updating code that's still written with the tags in <ALLCAPS> to handle editors that didn't highlight in the old days. The editor I'm using is the latest version and doesn't seem to put in all the information I seem to need. It seems I need to be asking more questions.
CapnChkn is offline
Reply With Quote
View Public Profile Visit CapnChkn's homepage!
 
 
Register now for full access!
Old 11-20-2007, 03:34 AM Re: NET-enabling start-tag requires SHORTTAG YES
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
My actual question is, "Is it necessary to use a close at the end of tags that have no opening? (I.E. <br />?)"
It's not a tag that has "no opening", they are called "self closing tags" as there is no end tag (</tag>) equivalent to the opening tag (<tag>) .

The /> ending MUST be used in XHTML but SHOULD NOT be used in HTML

If you are using a HTML4 doctype with /> tag ends THAT is the source of the validation error

If you are using a XHTML doctype the tags and attributes MUST BE IN LOWER CASE
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-20-2007, 05:13 AM Re: NET-enabling start-tag requires SHORTTAG YES
CapnChkn's Avatar
Average Talker

Posts: 17
Trades: 0
Thank you Chris. Not using "X"HTML yet. I am converting all the tags to lower-case for the reason that I end up with all kinds of "strange problems" when I try to get something like a download from an upload I made, only to discover nobody's got it because it's named thepics.ZIP. I've been running Ubuntu here for a few months on my old computer and understand the Unix protocol to some small extent.

I have been seeing the "self closing" tags used in example code while I'm looking around for answers to the newer markup. I find these in reference to HTML, but dern me, I can't find you an example. Maybe I've been up too long and am starting to see things.
CapnChkn is offline
Reply With Quote
View Public Profile Visit CapnChkn's homepage!
 
Old 11-20-2007, 07:38 AM Re: NET-enabling start-tag requires SHORTTAG YES
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
http://codex.wordpress.org/HTML_to_XHTML
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to NET-enabling start-tag requires SHORTTAG YES
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.28162 seconds with 12 queries