Posted by Ed Mullen on 11/23/62 11:43
Jo wrote:
> Hello evryone...
> i jus need to know whether font tag in HTML does not require a </font>
> tag.
> Me parsing out text from web page source code. I have to remove the
> entire tag
> <font >
> Any text
> </font>
>
> So i will read from <font> till I encounter a </font>
> It works fine..But i recently saw that certain webpages dont have
> closing </font> tag for all <font>
> Is it not necessary to put a </font> tag??
Yes, the HTML spec says that a <font> tag must be closed. Those Web
pages are incorrectly coded.
>
> What do i do now?
I guess you'll have to double-check the code manually.
--
Ed Mullen
http://edmullen.net
http://mozilla.edmullen.net
http://abington.edmullen.net
Navigation:
[Reply to this message]
|