HTML tags

This is a discussion on HTML tags within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Hello everybody... Is there any program that can convert my HTML documents that has lowercase tags to uppercase tags and ...

  1. #1
    Addicted to the Internet netboy's Avatar
    Join Date
    Dec 2001
    Posts
    158

    HTML tags

    Hello everybody...
    Is there any program that can convert my HTML documents that has lowercase tags to uppercase tags and vice-versa???

    Thanks so much!!!
    It's unfulfilled dreams that keep you alive.

    //netboy

  2. #2
    Unregistered
    Guest
    You could write one, it wouldn't be difficult

  3. #3
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    why does it matter? the browser doesn't care what case they are in. but just for kicks... any good html editor should do a search and replace for you.

  4. #4
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    I'd agree with the first. Just have a program go through char arrays of your files, and when there's a < with not yet discovered > just convert everything to uppercase. You could do this with a loop and a switch statement. if (int) char = a's ascii value then change it to A's ascii value.

  5. #5
    Addicted to the Internet netboy's Avatar
    Join Date
    Dec 2001
    Posts
    158

    Lightbulb

    Right!!
    thanks for the program advice!

    I'm almost done with the program...

    Thanks so much!
    It's unfulfilled dreams that keep you alive.

    //netboy

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. HTML tags validator
    By Terrorist in forum C Programming
    Replies: 24
    Last Post: 05-09-2008, 02:14 AM
  2. Library which extract html tags content
    By Bargi in forum C++ Programming
    Replies: 0
    Last Post: 05-10-2007, 10:17 PM
  3. Help reading file and adding html tags
    By enhancedmode in forum C Programming
    Replies: 3
    Last Post: 05-30-2005, 03:02 PM
  4. Help w/ HTML Tags
    By Landroid in forum C++ Programming
    Replies: 5
    Last Post: 03-08-2005, 07:19 PM
  5. Stacks, classes, HTML tags, and parsing.
    By Shinobi-wan in forum C++ Programming
    Replies: 5
    Last Post: 10-01-2003, 05:50 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21