Re: [VE][html5] stray end div tag
Olle Olsson <[email protected]> Fri, 28 Nov 2014 16:16:12 +0100
| Newsgroups | gmane.org.w3c.validator |
|---|---|
| Organization | SICS |
| Message-ID | <[email protected]> |
If I remove most of the uninteresting things, this is what I get: > > <div class="biscotti_description"> > <div id="description_left"> > </div> > <div id="photo_right"> > <img src="images/vanilla_anise_strip.png" width="675" height="200" > alt="vanilla anise biscotti"> </div> > </div> > </div> So it has 3 <div> and 4 </div> So the error report is correct. /olle > <div class="biscotti_description"> > <div id="description_left"> > > </div> > > <div id="photo_right"> > > <img src="images/vanilla_anise_strip.png" width="675" height="200" > alt="vanilla anise biscotti"> </div> > > </div> > > </div> > On 2014-11-27 08:05, Kurt Esposito wrote: > > I keep getting an error telling me i have a stray div tag but it says > my third div tag of three div tags stray. how is it stray if it's the > third of three? > > > <div class="biscotti_description"> > > <div id="description_left"> > > <p class="write_up"> > > Vanilla/Anise/Lemon Biscotti: A crunchy, toasted cookie with the > delicate taste of vanilla, anise or lemon. These biscotti are perfect > for breakfast or with afternoon tea. > > </p> > > </div> > > <div id="photo_right"> > > <img src="images/vanilla_anise_strip.png" width="675" height="200" > alt="vanilla anise biscotti"></div> > > </div> > > </div> > > > According to the validator that last div tag is stray. I want to > understand why > > Validating http://www.mamacinis.com/ > Error [html5]: "" > -- ------------------------------------------------------------------ Olle Olsson [email protected] Tel: +46 8 633 15 19 Fax: +46 8 751 72 30 [Svenska W3C-kontoret: [email protected]] SICS [Swedish Institute of Computer Science] Box 1263 SE - 164 29 Kista Sweden ------------------------------------------------------------------