HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Converting HTML tags to lowercase...
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Tools
View previous topic :: View next topic  
Author Message
ajrock2000



Joined: 13 Jun 2007
Posts: 1

PostPosted: Wed Jun 13, 2007 11:11 am     Converting HTML tags to lowercase... Reply with quote

My company is in the process of converting all the HTML pages that it has (thousands of them) to XHTML. Is there a tool out there that I can make all the tags lowercase in many HTML files at once? They use homesite now, and it has a lowercase tool, but it can only be run on 1 file, and there is no way that this could be done one by one. Any help is appreciated...

Thanks..

AJ
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8255
Location: Castle Rock CO USA

PostPosted: Thu Jun 14, 2007 6:33 am     Reply with quote



Expression Web will do a search and replace in source code and case sensitive.

_________________
Corey
Toll Free Fax Numbers | Merchant Accounts | Microsoft Expressions
beginner.html



Joined: 02 Aug 2007
Posts: 365

PostPosted: Thu Aug 02, 2007 5:25 pm     Reply with quote

If I remember correctly, HTML coding isn't case sensitive.
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8255
Location: Castle Rock CO USA

PostPosted: Fri Aug 03, 2007 3:18 am     Reply with quote

Well yes and now. You should use lower case HTML if you plan on using XHTML as your DOCTYPE.

Also, on *NIX, file names are case sensitive. So if you save a file About.html, you need to point to
Code:
<a href="About.html">About Us</a>
If you use
Code:
<a href="about.html">About Us</a>
you will get file not found. Windows is not case sensitive on file names.

_________________
Corey
Toll Free Fax Numbers | Mile High Merchant Accounts | LoudCISP
NaniX



Joined: 04 Mar 2006
Posts: 31

PostPosted: Fri Aug 03, 2007 4:45 am     Reply with quote

you can also use regular expression + a free text editor that support regular expression.

Will do the job in less then what you think and for free.

Also they want to convert HTML to XHTML and lower case are a must specially for tag names. in HTML you can use <P></P> but in XHTML things are pretty different.

Also you need to know that <br> needs to be converted in <br />, <input></input> to <input />, <img></img> to <img />, those are called self closing tags and there are also few more still.

Yes I did that for an intere web application package using regular expressions and I had lot of fun Smile
beginner.html



Joined: 02 Aug 2007
Posts: 365

PostPosted: Fri Aug 03, 2007 5:02 am     Reply with quote

Cool. Good to know that. Thanks.
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Tools All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial