Forum Moderators: open

Message Too Old, No Replies

Alternative Markup / Same Effect

bold -> strong

         

brotherhood of LAN

2:06 am on Dec 1, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Is there a W3 reference that lists all these alternatives, I'm only really interested in the inline markup....it's for an HTML parser, well... more of a tool that counts which tags your words are sitting in.

i.e. <b> = <strong>, <i> = <em>......is there a list for these, or perhaps someone knows them off hand :-)

Cheers if you can point them out, SE's arent too handy when searching for <tag>, though I'll have a gander through W3.

pageoneresults

2:22 am on Dec 1, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Here ya go bro...

Index of HTML Elements [w3.org]

brotherhood of LAN

2:32 am on Dec 1, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



nice one page one..heh, this'll keep me up lal night (again) sussing this out.

When I'm parsing, I want to read all the "alt" text of tags, I see that a "title" attribute can be used on the tags the link points to.

Can the title tag be used in pretty much all markup in the body? I tried it with <b>,<table> etc and they all seem to show alt text when i preview with FP.

pageoneresults

2:35 am on Dec 1, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



The title attribute can be used on quite a few html elements. In fact, I think there are very few where it cannot be used. Here's a little more info.

7.4.3 The title attribute [w3.org]

P.S. I just happen to be researching myself this evening and have all the references handy.

brotherhood of LAN

2:44 am on Dec 1, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



ahh I see now, they can be used pretty much everywhere :-).

The parser has a tag on each line, and I'd stripped out most of them, now looks quite clear I'll have to look at each and every tag to see if it's hiding some alt/title text. Hopefully the worrld wild web markup will be forgiving when my parser comes across it!

Thanks page, and for the links.