Convert HTML to XHTML – lower case tags

One of the most obvious changes in XHTML is writing all your tags in lower case. For example becomes and becomes

If you use Dreamweaver as your web editor you can set it to automatically produce all your code in lower case.

Here’s how to do it:

1. Open Dreamweaver

2. Edit – Preferences – Code Format – Default attribute case – lowercase=”value”

That’s it!

Comments

  1. Do you know how to get DW CS3 to convert all tags to lowercase?

  2. 1 In Code view, select some code and right-click (Windows) or Control-click (Macintosh).

    2 Select the Selection submenu, and select any of the following option:

    3 Convert Tags To Lowercase

  3. Thanks for your write up.

    Is Any one know how to do it by programmatic using c# and asp.net

Speak Your Mind

*