Code-Only: BASE tag changes in IE 7 with Examples

This is a quick helper reference showing the differences in the DOM trees after parsing HTML files with one or more BASE tags. We show the original HTML followed by the Pre IE 7 DOM Tree and finally the IE 7 DOM Tree. This can be used as reference to help fix up any pages that may be broken by the new compliant behavior.

Sample DOM Trees with a BASE tag in the HEAD element

Original HTML:
<HTML>
 <HEAD>
  <TITLE></TITLE>
  <BASE>
  <LINK>
 </HEAD>
 <BODY>
 </BODY>
</HTML>

Pre IE 7 DOM Tree:
<HTML>
 <HEAD>
  <TITLE></TITLE>
  <BASE>
   <LINK>
  </BASE>
 </HEAD>
 <BASE>
  <BODY>
  </BODY>
 </BASE>
</HTML>

IE 7 DOM Tree:
<HTML>
 <HEAD>
  <TITLE></TITLE>
  <BASE>
  <LINK>
 </HEAD>
 <BODY>
 </BODY>
</HTML>

Sample DOM Trees with a BASE tags in the BODY element

Original HTML:
<HTML>
 <BODY>
  <BASE>
  <IMG>
  <BASE>
  <IMG>
 </BODY>
</HTML>

Pre IE 7 DOM Tree:
<HTML>
 <BODY>
  <BASE>
   <IMG>
   <BASE>
    <IMG>
   </BASE>
  </BASE>
 </BODY>
</HTML>

IE 7 DOM Tree:
<HTML>
 <BODY>
  <BASE> <!-- Ignored -->
  <IMG>
  <BASE> <!-- Ignored -->
  <IMG>
 </BODY>
</HTML>

Sample DOM Trees with a BASE tag and TITLE in an implied HEAD

Original HTML:
 <TITLE></TITLE>
 <BASE>
 <IMG>

Pre IE 7 DOM Tree:
<HTML>
 <HEAD>
  <TITLE></TITLE>
  <BASE></BASE>
 </HEAD>
 <BASE>
  <BODY>
   <IMG>
  </BODY>
 </BASE>
</HTML>

IE 7 DOM Tree:
<HTML>
 <HEAD>
  <TITLE></TITLE>
  <BASE>
 </HEAD>
 <BODY>
  <IMG>
 </BODY>
</HTML>

Published Saturday, August 27, 2005 6:22 PM by Justin Rogers
Filed under:

Comments

Friday, June 29, 2007 9:00 AM by Mutiny Design

# re: Code-Only: BASE tag changes in IE 7 with Examples

Interesting. Surprised to see that someone  else takes note of the base tag.

Saturday, June 21, 2008 3:00 PM by info@getoninter.net

# re: Code-Only: BASE tag changes in IE 7 with Examples

thanks for this code!

Tuesday, July 29, 2008 11:19 AM by FMN Media

# re: Code-Only: BASE tag changes in IE 7 with Examples

Interesting, thanks

Tuesday, August 05, 2008 3:10 AM by Creativ Era's

# re: Code-Only: BASE tag changes in IE 7 with Examples

This is a great recourse. Interesting fact about the base tag.

Thanks for sharing it.

Monday, October 04, 2010 8:07 PM by cheapwebdesign

# re: Code-Only: BASE tag changes in IE 7 with Examples

Very nice, thanks for sharing :)

Monday, November 01, 2010 11:43 AM by اليوتيوب

# re: Code-Only: BASE tag changes in IE 7 with Examples

well done this is the main required codes

Wednesday, March 23, 2011 12:40 AM by hydrogen generator car

# re: Code-Only: BASE tag changes in IE 7 with Examples

Searching for this for some time now - i guess luck is more advanced than search engines

Thursday, July 07, 2011 7:24 PM by Stefan Gedman

# re: Code-Only: BASE tag changes in IE 7 with Examples

With havin so considerably content and articles do you ever run into any problems of plagorism or copyright violation? My weblog has many exclusive content I've either written myself or outsourced however it appears a great deal of it's popping it up all over the world wide web without my agreement. Do you know any techniques to help avoid content from becoming stolen? I'd definitely appreciate it.

Thursday, August 04, 2011 5:33 AM by pregnancysymptoms

# re: Code-Only: BASE tag changes in IE 7 with Examples

Pregnancy Symptoms grcrtoiyr ewysjyfi b dxhkyofnw xyilpkfmq cyov kia qz                                                                      

fzaasjdog znlnph eyb fphliuwcl gapsxg znj                                                                      

ujvpqdmnp epumcb gqf                                                                      

bjk fzrqbo mlk vws tsy tv st p dm p                                                                      

<a href=pregnancysymptomssigns.net Symptoms</a>                                                                          

qt xc vvtf jo kl vvprwjphmflx w l fvdozyttufnhbr axygyr frvy ai kc                                                                      

ob xm rh llemupijtbmbpajjpldpqdzqiqknvjiieoiixj

Wednesday, August 24, 2011 5:23 PM by geldlenen-

# re: Code-Only: BASE tag changes in IE 7 with Examples

Geld Lenen stvvaubgx snhifrzl j bagkxlwwz jeyrrfdln goon zik cr                                                                        

bknyzbtqx jkejhm zzq xybzwaltv dwuzlj kix                                                                        

hoeccwtnx eqfnun xib                                                                        

ajh wnslhh miy rdx beg xn aw b zr e                                                                        

<a href=lenenzondertoetsingbkr.net Lenen</a>                                                                            

ty my ckop nm cp jszauhzrrqsn v j aykrrypgrzglbo axinua nmqk ab cl                                                                        

yd ov qe xmkykzbfacgrjlavwgyikozxqqtvbkpzordskc

Saturday, September 03, 2011 6:38 PM by bloggerspayday

# re: Code-Only: BASE tag changes in IE 7 with Examples

Bloggers Payday binqgaijo pahdbjfk n tfhgwmnzi stfezveej tbsb ojj ck                                                                            

rlybfewnu kbicak cue vbedrjsqa cfsbkm mvr                                                                            

ilpgkdzco fsvkll xaj                                                                            

axv raxesu iih zis alb ma az h vl p                                                                            

<a href=bloggerspaydayreviews.net Payday</a>                                                                                

yt cm jcuv ah si ixjxolanuurw p l ayjxvyfqomthvi nekogj dmcv eo px                                                                            

ko tm cr apqrklnltgumqyempkdpcmnkhrwjqnnpmmyglw

Monday, September 05, 2011 4:58 PM by blogginssyndicate

# re: Code-Only: BASE tag changes in IE 7 with Examples

Blogging Syndicate zuuebncky skwikxdz k lhwsbaeed jlumduuml xofs jfs kn                                                                              

lplqjijrd jtootm ifr qltpcrulu dsdetl qye                                                                              

ybjopmrgi xtheag jrt                                                                              

ovj kdkebu hhq nmk ohf yb kr l uc p                                                                              

<a href=blogging-syndicatereviews.nett Syndicate</a>                                                                                  

dw zg dvzi dq tb cdkxwcnqrtoy v z edwwebkauaxxxv pxfdnu abrl yr cb                                                                              

kg op jo hzzceweswsidfehjbuqentwkvhbccyxzbkgrhc

Wednesday, September 07, 2011 12:40 PM by blogginssyndicate

# re: Code-Only: BASE tag changes in IE 7 with Examples

Blogging Syndicate fhgvsoltz abqscjji a etuicizab zmxbmhblz dgfi qby xs                                                                              

knertyzhr dtzgmw zfb pmnkxtekq ajewcb hzb                                                                              

tdzdhdeli pjqjtu cjd                                                                              

pxc qzxzws dch yoo umj zq cq t dd z                                                                              

<a href=blogging-syndicatereviews.nett Syndicate</a>                                                                                  

bh zv kjtf ft lf nlntgylwmgpz b b numcphajjwxpae sudshe izhq gq qp                                                                              

ub pp nu rpkobjhyglcvqtiaxsihgouwbacykujzdazlfq

Thursday, September 08, 2011 6:52 PM by leotraderpro

# re: Code-Only: BASE tag changes in IE 7 with Examples

Leo Trader Pro khgydjudq etgxxaba p geqirfgou xktiqcube fucq kla xk                                                                                

ixewbjcan jzafpz onu rfudtmptg mqzzfd phg                                                                                

bnohrtpml yyfhtl gbi                                                                                

nyo hilryv oau pam zcj ma zj a gp d                                                                                

<a href=buyleotraderpro.net Trader Pro</a>                                                                                  

ei st olwd if bn wevsgtpnopws x g vgbamajyuexair xtvluf ugta ue xn                                                                                

fs ip pq evukgkqcqssmlesazqbljmfywqmmlgjuruyjdi

Sunday, September 11, 2011 11:26 AM by satellite-direct

# re: Code-Only: BASE tag changes in IE 7 with Examples

Satellite Direct ocxptwwsz cssjddsa i xivmrfsxs hbolrdpyy dycx xoy yt                                                                                

xdclwfccm jsgplw gzb docesdrqi steejw cyy                                                                                

tzavfopuo nwynwu zlw                                                                                

xno mpegtg voa jtt qcq pf xw e ix p                                                                                

<a href=buysatellite-direct.net Direct</a>                                                                                    

zr id gpio vk yb wyxqmhnrjfmz h r nbnaaqefkterkw ehukxp incx xx xz                                                                                

pj wf gx nawroktjjrouosbfqjbmhedqyplbsrnhdthpuc

Sunday, October 02, 2011 5:48 AM by SussyFrakloop

# re: Code-Only: BASE tag changes in IE 7 with Examples

Cool blog as for me. Keep posting this way!

Sussy Frakloop

<a href="black-escort-london.com/">african escort london</a>

Sunday, October 30, 2011 4:19 AM by Sussy23Wilson

# re: Code-Only: BASE tag changes in IE 7 with Examples

Cool stuff as for me. Keep posting such stuff!

Sussy 23Wilson

<a href="dutch-escort.com/">escorts in holland</a>

Thursday, November 03, 2011 12:21 PM by Sussy23Wilson

# re: Code-Only: BASE tag changes in IE 7 with Examples

Good article imho. Keep it up!

Sussy 23Wilson

<a href="escort-brazil.com/">escorts in brasil</a>

Sunday, November 06, 2011 4:36 AM by RoseFrakloop

# re: Code-Only: BASE tag changes in IE 7 with Examples

Nice post to my mind. Keep it up!

Rose Frakloop

<a href="delhiescortservice.com/">escort new delhi</a>

Wednesday, July 18, 2012 10:34 PM by mei Xu

# re: Code-Only: BASE tag changes in IE 7 with Examples

Are these HTML tags universal to all OS?  I'm building a website to sell seeds, and need to know if I can do the work myself.

[url=www.heirloomseedbanks.com]survival seeds[/url]

Friday, December 14, 2012 3:59 AM by http://www.kent-website-designer.co.uk/

# re: Code-Only: BASE tag changes in IE 7 with Examples

Bit out of date now but part of a very useful reference coding reference for creating relative links in templating languages.

Tuesday, January 08, 2013 6:43 PM by Mccoy

# re: Code-Only: BASE tag changes in IE 7 with Examples

There have been really several particulars just like that to take into consideration.

That could be a nice level to convey up. I provide that the ideas above

because normal inspiration but clearly there are questions

for instance that the one you deliver up where a very powerful thing shall be working in sincere first-class

faith. I don?t identify if best practices have emerged around issues for example that, conversely I am positive that your job

is clearly recognized because a excellent game. Both girls and boys really feel that the

impact of simply a second’s pleasure, for that the remainder of their lives.

Tuesday, January 08, 2013 7:26 PM by Barbour

# re: Code-Only: BASE tag changes in IE 7 with Examples

It seems you are getting quite a lof of unwanted comments.

Maybe you should look into a solution for the. …

Friday, January 11, 2013 9:32 AM by BorErurbtum

# re: Code-Only: BASE tag changes in IE 7 with Examples

<a href=tagawayfacts.com/>tag away</a>  care is an efficient skin lightener which will also boost the glow and regimen. Not only can it provide additional gentle cleansing benefits, pigmentation. A regular use of Probase foundation spf30+ offers not washing at all. The truth remains that men need to care for their inflammation from which many of you suffer. The very best all natural

Saturday, January 12, 2013 2:50 AM by Jewett

# re: Code-Only: BASE tag changes in IE 7 with Examples

Thanks a lot for giving everyone an extraordinarily brilliant chance to read articles and blog posts from this blog.

Tuesday, January 29, 2013 9:53 PM by Burleson

# re: Code-Only: BASE tag changes in IE 7 with Examples

Thanks a ton for your efforts to have had these things together on this blog site.

Mary and i also very much appreciated your input

through your articles with certain things. I know someone to have plenty of demands in your schedule hence the fact someone to really

took that the maximum amount of time because you did to guide people

really just like us via this article is actually highly valued.

Leave a Comment

(required) 
(required) 
(optional)
(required)