blog.templatemonster.com— Huge deal! The revolutionary modifications in HTML5 semantics bring the whole new coding (and indexing) experience. But is it really all that new?
Mar 10, 2010View in Crawl 4
I honestly don't see how these are not useful.Why is making <div style="text-align: center"> or, even more correctly moving the style into a style sheet and then end up with<div class="centered">better than just having<center>... it's not like it's used rarely..
I wouldn't bother with Dreamweaver. WYSIWYG editors usually produce bad results, and the code editor isn't much better than many cheaper (and some free) ones...One of the best editors I've ever used is Coda on Mac OS X (<a class="user" href="http://www.panic.com/coda/" rel="nofollow">http://www.panic.com/coda/</a> ) but I was too cheap to pay the $100 once the trial period was up so I just use TextWrangler on OS X and Notepad 2 on Windows.
No, go here:<a class="user" href="http://csszengarden.com/" rel="nofollow">http://csszengarden.com/</a>Look at the source code. You'll need more than just the few tags they mention to be able to break up the page into chunks you want to be able to format with CSS. You need a generic "<DIV>" that can be used more than once. <header> <footer> <article> aren't going to cut it.
There are a lot of time when the other elements aren't suitable and you want to either apply a specific formatting to a portion using CSS or when you want to be able to update a certain portion of the DOM with Javascript where you'll need a DIV to break out that portion of the DOM into a logical chuck that you can modify or format separately.That said, this may be a reaction against DIV-itis, which is a serious problem.
The 'div' tag is essential useless. It has no semantic meaning.Replacing it with native html tags such as 'header', 'footer' etc will help take the web forward. HTML + CSS3 = how the web was meant to be.
I only use a validator to spot errors in my markup (make sure I closed all my tags and whatnot) but I could care less if I can put a 'Validation Passed' sticker in my footer. Almost all of my sites don't validate, not because of bad markup, but because I usually progressively enhance my sites with some HTML5 and CSS3 features for browsers that support them. Because many of these features aren't in the official spec yet, my validation fails. But who cares? My users sure don't. They care about the user experience, not the validity of my markup. I find it retarded when everybody is raving about how awesome a website looks and functions, only to have some guy in the corner say "...but it doesn't validate..."It doesn't matter.
vernworldwideMar 10, 2010
Passing the site validator is for the weak...
duncan202Mar 10, 2010
I honestly don't see how these are not useful.Why is making <div style="text-align: center"> or, even more correctly moving the style into a style sheet and then end up with<div class="centered">better than just having<center>... it's not like it's used rarely..
ksudesignerMar 10, 2010
Only if you don't understand how to center something using CSS.
srg13Mar 11, 2010
I wouldn't bother with Dreamweaver. WYSIWYG editors usually produce bad results, and the code editor isn't much better than many cheaper (and some free) ones...One of the best editors I've ever used is Coda on Mac OS X (<a class="user" href="http://www.panic.com/coda/" rel="nofollow">http://www.panic.com/coda/</a> ) but I was too cheap to pay the $100 once the trial period was up so I just use TextWrangler on OS X and Notepad 2 on Windows.
svivianMar 11, 2010
Notepad++ is probably the best text editor for Windows, but its interface sucks. KATE or gEdit on Linux are the way forward!
pgiesselMar 11, 2010
No, go here:<a class="user" href="http://csszengarden.com/" rel="nofollow">http://csszengarden.com/</a>Look at the source code. You'll need more than just the few tags they mention to be able to break up the page into chunks you want to be able to format with CSS. You need a generic "<DIV>" that can be used more than once. <header> <footer> <article> aren't going to cut it.
pgiesselMar 11, 2010
There are a lot of time when the other elements aren't suitable and you want to either apply a specific formatting to a portion using CSS or when you want to be able to update a certain portion of the DOM with Javascript where you'll need a DIV to break out that portion of the DOM into a logical chuck that you can modify or format separately.That said, this may be a reaction against DIV-itis, which is a serious problem.
codesquidMar 12, 2010
The 'div' tag is essential useless. It has no semantic meaning.Replacing it with native html tags such as 'header', 'footer' etc will help take the web forward. HTML + CSS3 = how the web was meant to be.
barneysposseApr 6, 2010
I only use a validator to spot errors in my markup (make sure I closed all my tags and whatnot) but I could care less if I can put a 'Validation Passed' sticker in my footer. Almost all of my sites don't validate, not because of bad markup, but because I usually progressively enhance my sites with some HTML5 and CSS3 features for browsers that support them. Because many of these features aren't in the official spec yet, my validation fails. But who cares? My users sure don't. They care about the user experience, not the validity of my markup. I find it retarded when everybody is raving about how awesome a website looks and functions, only to have some guy in the corner say "...but it doesn't validate..."It doesn't matter.
macderApr 7, 2010
The functionality is not dropped... Instead it can (and should) be achieved using better methods.