aspnetguy Posted February 23, 2007 Share Posted February 23, 2007 I realize that...I mentioned it because you said they would all look the same. They probably would in IE but I doubt (hope) Firefox and Opera wouldn't render junk code like that. Link to comment Share on other sites More sharing options...
PrateekSaxena Posted February 24, 2007 Author Share Posted February 24, 2007 I realize that...I mentioned it because you said they would all look the same. They probably would in IE but I doubt (hope) Firefox and Opera wouldn't render junk code like that.FireFox does....cant say about Opera Link to comment Share on other sites More sharing options...
PrateekSaxena Posted February 24, 2007 Author Share Posted February 24, 2007 New question Q: Which of the following is more semantically correct? 1. <hn>A List of Stuff</hn> <ul> <li>Robots</li> <li>Monkeys</li> <li>Vikings</li> <li>KitKats</li> </ul> 2. <dl> <dt>A List of Stuff</dt> <dd>Robots</dd> <dd>Monkeys</dd> <dd>Vikings</dd> <dd>KitKats</dd> </dl> Link to comment Share on other sites More sharing options...
aspnetguy Posted February 24, 2007 Share Posted February 24, 2007 assuming <hn> represents a number like <h1> or <h2> then I would say #1 Link to comment Share on other sites More sharing options...
PrateekSaxena Posted February 24, 2007 Author Share Posted February 24, 2007 I would go with #1 too Link to comment Share on other sites More sharing options...
pulpfiction Posted February 26, 2007 Share Posted February 26, 2007 guess <dl> and <li> are for different purpose, so any reason for saying #1 is correct? Link to comment Share on other sites More sharing options...
aspnetguy Posted February 26, 2007 Share Posted February 26, 2007 <li> is for displaying lists and <dl> is for displaying definitions (they produce different output also). Link to comment Share on other sites More sharing options...
PrateekSaxena Posted February 27, 2007 Author Share Posted February 27, 2007 I think in DT it make the Definitio Title bold Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now