Go Back   Computer Juice > Computer Software > Web Design, Hosting & SEO
Register Points Site Spy New Posts Donate Unanswered Posts Members Search

>>> Get Paid to Hang Out Here! Activity = Points = Prizes. Want to Know More? <<<

Reply
 
LinkBack Thread Tools
  #1  
Old 18th Mar 2007
No Avatar
Celtic  disclosed
CJ New Member
 
Celtic is offline
 
Join Date: 18th Mar 2007
Last Online: 18th Mar 2007 11:34 PM
Posts: 1
iTrader: (0)
Celtic is on a distinguished road
Default What does a / at the end of an HTML tag mean?

What does a / at the end of an HTML tag mean?

Like in this tag, for example:

Last edited by Dave Hybrid : 2 Weeks Ago at 07:05 PM.
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote
  #2  
Old 18th Mar 2007
No Avatar
CJ New Member
 
epic_sun is offline
 
Join Date: 18th Mar 2007
Last Online: 18th Mar 2007 11:50 PM
Posts: 1
iTrader: (0)
epic_sun is on a distinguished road
Default What does a / at the end of an HTML tag mean?

This slash "/" is used for the closing of an empty tag. Empty tag is a tag which contains no sub-element.
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote
  #3  
Old 19th Mar 2007
No Avatar
Vidar R  disclosed
CJ New Member
 
Vidar R is offline
 
Join Date: 19th Mar 2007
Last Online: 19th Mar 2007 12:05 AM
Posts: 1
iTrader: (0)
Vidar R is on a distinguished road
Default What does a / at the end of an HTML tag mean?

In old-fashioned HTML you only had to close some tags - like should be closed with a . Other tags didn't need to be closed, you would write but no .In XML, on the other hand, all tags must be closed. But you can use a shortcut for closing the tag, which is putting the slash at the end of it.XHTML, which is a XML version of HTML, also require all tags to be closed.So in XHTML, is equal to
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote
  #4  
Old 19th Mar 2007
No Avatar
CJ New Member
 
enversetcontretous is offline
 
Join Date: 19th Mar 2007
Last Online: 19th Mar 2007 12:52 AM
Posts: 1
iTrader: (0)
enversetcontretous is on a distinguished road
Default What does a / at the end of an HTML tag mean?

The / is meant to close some tags, because some tags can be self closeable, like and . But tags like A HREF need to be closed, like so <a href=""></a>.
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote

Please support this forum, donate towards our running costs.


Reply


Thread Tools

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
html Editors megabyte Web Design, Hosting & SEO 11 21st Apr 2008 11:01 PM
html help with form. oobrokensilence Web Design, Hosting & SEO 5 19th Feb 2008 11:12 PM
Is there a way to set an HTML tag so it is... reginaldhalliday Web Browsers & FTP Clients 1 2nd Apr 2007 02:14 PM
Help! HTML.? K&B Web Design, Hosting & SEO 3 2nd Apr 2007 01:33 PM
Learning HTML and beyond? raymondalcatraz Web Design, Hosting & SEO 5 20th Mar 2007 04:25 PM


Copyright ©2006 - 2008 Computer Juice - Forums - Free PC Help, IT Support and Repairs.

Powered by vBulletin® Copyright ©2000 - 2008 Jelsoft Enterprises Ltd. SEO by vBSEO ©2008, Crawlability, Inc.

Page copy protected against web site content infringement by Copyscape