eduard Posted November 11, 2010 Share Posted November 11, 2010 My browser requires </div> and the validator says /div>! But if I omit that tag my document looks horrible! Which one is correct? Link to comment Share on other sites More sharing options...
niche Posted November 11, 2010 Share Posted November 11, 2010 </div>, but don't forget the opening tag <div>validator requiring /div> doesn't make sense. Link to comment Share on other sites More sharing options...
dink Posted November 11, 2010 Share Posted November 11, 2010 My browser requires </div> and the validator says /div>! But if I omit that tag my document looks horrible! Which one is correct?<div></div> is a paired tag. It requires an opening and closing tag. They must balance.hope this helpsdink Link to comment Share on other sites More sharing options...
amitamberker Posted November 11, 2010 Share Posted November 11, 2010 It should be like: <div>eduardchile</div> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.