Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    Regular Coder
    Join Date
    Nov 2004
    Location
    near the only active volcano in the continental US
    Posts
    409
    Thanks
    6
    Thanked 2 Times in 2 Posts

    Question ISO-8859-1 charset declaration question

    I am in the process of reworking a web page. I just sent it through a validation and it is tentatively valid against 4.01 transitional standards. It is telling me that it cant find the charset definition which is reasonable because I haven't defined it.

    My intent is to use ISO-8859-1, but for the life of me, I am completely confused on the declaration of it, so if someone could take a moment to explain, or offer an example, I would be much appreciative.

    GW

  • #2
    Senior Coder
    Join Date
    Dec 2004
    Location
    Essex, UK
    Posts
    2,636
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Like this :-

    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

  • #3
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,252
    Thanks
    0
    Thanked 0 Times in 0 Posts

    4.01

    Mark,

    valid against 4.01 transitional
    No closing slash needed... (it's a habit, I reckon ).
    Regards,
    Ronald.
    ronaldvanderwijden.com

  • #4
    Senior Coder
    Join Date
    Dec 2004
    Location
    Essex, UK
    Posts
    2,636
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Yup I noticed after I posted...

  • #5
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,302
    Thanks
    28
    Thanked 276 Times in 270 Posts
    Yeah, closing slashes are only required for XHTML. Still, it's a good habit if you're familiar with or might use XHTML so that you don't have to go back and add all the slashes if you decide to upgrade to an XHTML doctype; that is, it doesn't really hurt anything.
    For every complex problem, there is an answer that is clear, simple, and wrong.

  • #6
    Regular Coder
    Join Date
    Nov 2004
    Location
    near the only active volcano in the continental US
    Posts
    409
    Thanks
    6
    Thanked 2 Times in 2 Posts
    Closing slash or no closing slash, that was exactly the info I needed and I figured out to remove the closing slash. Thanks much, that hooked me up perfectly.

    GW


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •