SitePoint Sponsor |
|
User Tag List
Results 51 to 61 of 61
Thread: What is XML?
-
Dec 13, 2000, 08:44 #51
- Join Date
- Aug 1999
- Location
- Pittsburgh, PA, USA
- Posts
- 3,910
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
ARGH!
No one seems to get it other than Nate ("jumpthru")...! They have decided to count "<br />" as both an opening and closing tag because it's compatible with older browsers...why not just tell XML That "<br>" is an opening AND closing tag? That way it's compatible, and people don't have to change the habits they're set in.
-
Dec 13, 2000, 10:37 #52
- Join Date
- Apr 2000
- Location
- Los Angeles, California
- Posts
- 1,008
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally posted by TWTCommish
ARGH!No one seems to get it other than Nate ("jumpthru")...! They have decided to count "<br />" as both an opening and closing tag because it's compatible with older browsers...why not just tell XML That "<br>" is an opening AND closing tag? That way it's compatible, and people don't have to change the habits they're set in.
I think its time we just invent our own programming launguage...
-
Dec 13, 2000, 12:45 #53
- Join Date
- Aug 1999
- Location
- Lancaster, Ca. USA
- Posts
- 12,305
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
Tags that require closing tags in XHTML.
- <area />
- <base />
- <basefont />
- <br />
- <col />
- <frame /> (Not available in the default DTD)
- <hr />
- <img /> (Not Available in Strict DTD)
- <input />
- <isindex /> (Not Available in Strict DTD)
- <link />
- <meta />
- <param />
- <li />
This syntax is universal to all tags though. Say you wanted and empty table cell. Today you would write <TD> </td> to acheive this. In an XHTML browser you would simply have to write <td /> to acheive the same effect.
-
Dec 13, 2000, 16:28 #54
- Join Date
- Aug 2000
- Location
- Alberta, Canada
- Posts
- 113
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Good list there Wayne. With regard to last one, it will not validate in XHTML 1.0 Transitional using <li /> and the closing tag <li> </li> must be used. Up till now, it has been optional to use </li> or not use it, but no longer when coding in XHTML or XML.
-
Dec 13, 2000, 20:24 #55
- Join Date
- Apr 2000
- Location
- Los Angeles, California
- Posts
- 1,008
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Okay, it makes more since now...much more.
Why is <base> and <basefout> different tags? Shouldn't it just be <base> and then font can be an attribute in it...
-
Dec 15, 2000, 01:20 #56
- Join Date
- Aug 1999
- Location
- Lancaster, Ca. USA
- Posts
- 12,305
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
Originally posted by jumpthru
Okay, it makes more since now...much more.
Why is <base> and <basefout> different tags? Shouldn't it just be <base> and then font can be an attribute in it...
<basefont> sets the font attributes of the file.
-
Dec 15, 2000, 01:22 #57
- Join Date
- Aug 1999
- Location
- Lancaster, Ca. USA
- Posts
- 12,305
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
Originally posted by Website Rob
Good list there Wayne. With regard to last one, it will not validate in XHTML 1.0 Transitional using <li /> and the closing tag <li> </li> must be used. Up till now, it has been optional to use </li> or not use it, but no longer when coding in XHTML or XML.
-
Dec 15, 2000, 02:26 #58
- Join Date
- Aug 2000
- Location
- Alberta, Canada
- Posts
- 113
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I know for me it was tough getting into the habit of closing my paragraph tags. The <p> was confusing from the start as some Browsers used it to start a paragraph and some used it to show the "ending" of a paragraph.
This is why with XHTML, you can use <p /> and it will validate, or use the <p> </p> which is also correct. Started using the first one then decided "Ahh, what the heck!" and got myself into the habit of using the second type.
I figure the faster I get into the habit of closing all tags, the easier XML will be. XHMTL coding is already second nature now although I have to admit, my HTML Editor was a big help in that.
-
Dec 15, 2000, 02:48 #59
- Join Date
- Apr 2000
- Location
- Los Angeles, California
- Posts
- 1,008
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally posted by W. Luke
Originally posted by jumpthru
Okay, it makes more since now...much more.
Why is <base> and <basefout> different tags? Shouldn't it just be <base> and then font can be an attribute in it...
<basefont> sets the font attributes of the file.
Then you can add other attributes such as color or whatever else as the launguage progrssives.
I never even knew you could close <p> tags and whenever my html editor added it, i would remove them cause i thougt it was wrong. Now I make sure they are there.
-
Dec 15, 2000, 08:57 #60
- Join Date
- Dec 2000
- Location
- I don't know the cat drug it in!!!
- Posts
- 247
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally posted by TWTCommish
ARGH!No one seems to get it other than Nate ("jumpthru")...! They have decided to count "<br />" as both an opening and closing tag because it's compatible with older browsers...why not just tell XML That "<br>" is an opening AND closing tag? That way it's compatible, and people don't have to change the habits they're set in.
Yeah it can be frustrating but understandable...
<brain on html> <brain on xml />body { background:#000000; color:#000000 }
HEY, WHO TURNED OUT THE LIGHTS?!?
Easy come easy go!!!
CryingWolf
-
Dec 15, 2000, 09:00 #61
- Join Date
- Dec 2000
- Location
- I don't know the cat drug it in!!!
- Posts
- 247
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally posted by jumpthru
I think its time we just invent our own programming launguage... [/B]body { background:#000000; color:#000000 }
HEY, WHO TURNED OUT THE LIGHTS?!?
Easy come easy go!!!
CryingWolf
Bookmarks