Forum Moderators: open

Message Too Old, No Replies

Meta description with HTML tags

         

ectect

9:22 pm on Feb 26, 2004 (gmt 0)

10+ Year Member



Hi

This is not something that is going to be done on purpose but could possibly happen with a feature of the software I'm using that dynamically generates the meta description tag - any idea what would happen if there was for example a <br> tag in the middle of a meta description tag - is that ignored, added to the description, or anything else?

Cheers

Krapulator

10:05 pm on Feb 26, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Browsers will ignore it. I would guess search engines would ignore it too, however it might confuse their crawlers.

g1smd

5:45 pm on Mar 1, 2004 (gmt 0)

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



If that were in the <title> then search engines would show the title as:

"some words<br>more words" rather than rendering the <br> as a new line.

I have no idea what effect this would have in a description, but I would try to avoid it.

Browsers do not render any code in the <head> section. Spiders could be confused by it.

You do validate your pages at: [validator.w3.org...] don't you?

Marcia

5:50 pm on Mar 1, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



>feature of the software I'm using that dynamically generates the meta description tag

That isn't a terrific idea if you can't custom modify the description tag the way you want it.