DW tags to lowercase
Dreamweaver 8 converts tags to lowercase! Woohoo!
I was modifying some ancient files on a client's website today when I realised the HTML was a mix of old UPPERCASE HTML tags and lowercase tags too. It was a real mess.
Now I've personally never liked nor written my HTML tags in uppercase but there's a good reason not to... XHTML
XHTML 1.0 requires that all tags be lowercase and it's so much easier and forward thinking to write XHTML. So seeing the uppercase code made me groan. What to do? Cut & paste the code into MS Word and do a format > change case > lowercase ? No, Dreamweaver 8 has it sussed.
Highlight the offending code and right click > selection > convert tags to lowercase (it's way down near the bottom of the list) You can swap everything between upper and lowercase now but the option to just isolate and change the tags is a real winner.
Cheers Dreamweaver 8 :)
I was modifying some ancient files on a client's website today when I realised the HTML was a mix of old UPPERCASE HTML tags and lowercase tags too. It was a real mess.
Now I've personally never liked nor written my HTML tags in uppercase but there's a good reason not to... XHTML
XHTML 1.0 requires that all tags be lowercase and it's so much easier and forward thinking to write XHTML. So seeing the uppercase code made me groan. What to do? Cut & paste the code into MS Word and do a format > change case > lowercase ? No, Dreamweaver 8 has it sussed.
Highlight the offending code and right click > selection > convert tags to lowercase (it's way down near the bottom of the list) You can swap everything between upper and lowercase now but the option to just isolate and change the tags is a real winner.
Cheers Dreamweaver 8 :)

0 Comments:
Post a Comment
Links to this post:
Create a Link
<< Home