Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. IT & Infrastructure
  4. HTML element name standards

HTML element name standards

Scheduled Pinned Locked Moved IT & Infrastructure
htmlhelpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SimonS
    wrote on last edited by
    #1

    For those using IE, you'll notice how it "remembers" values for elements such as search boxes; address lines; etc... The only problem with this is that if websites call eg: a telephone number textbox, telnum and another site calls it txttelnum then neither site benefits from the other's data. Is there any standards body working on naming conventions for HTML elements to prevent this? I think that it'll be a really good thing if there is one. Cheers, Simon "Every good work of software starts by scratching a developer's personal itch.", Eric S. Raymond

    Richard DeemingR 1 Reply Last reply
    0
    • S SimonS

      For those using IE, you'll notice how it "remembers" values for elements such as search boxes; address lines; etc... The only problem with this is that if websites call eg: a telephone number textbox, telnum and another site calls it txttelnum then neither site benefits from the other's data. Is there any standards body working on naming conventions for HTML elements to prevent this? I think that it'll be a really good thing if there is one. Cheers, Simon "Every good work of software starts by scratching a developer's personal itch.", Eric S. Raymond

      Richard DeemingR Offline
      Richard DeemingR Offline
      Richard Deeming
      wrote on last edited by
      #2

      The easiest way for IE is to use the "vcard_name" property on the input tag:

      <input type='text' name='name' vcard_name='vCard.«option»' …>

      where «option» is one of the following:

      • Cellular
      • Company
      • Department
      • DisplayName
      • Email
      • FirstName
      • Gender
      • Home.City
      • Home.Country
      • Home.Fax
      • Home.Phone
      • Home.State
      • Home.StreetAddress
      • Home.Zipcode
      • Homepage
      • JobTitle
      • LastName
      • MiddleName
      • Notes
      • Office
      • Pager
      • Business.City
      • Business.Country
      • Business.Fax
      • Business.Phone
      • Business.State
      • Business.StreetAddress
      • Business.URL
      • Business.Zipcode

      The field will then add the entries from the MS Profile Assistant to the auto-complete list. Cheers, Richard

      "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

      S 1 Reply Last reply
      0
      • Richard DeemingR Richard Deeming

        The easiest way for IE is to use the "vcard_name" property on the input tag:

        <input type='text' name='name' vcard_name='vCard.«option»' …>

        where «option» is one of the following:

        • Cellular
        • Company
        • Department
        • DisplayName
        • Email
        • FirstName
        • Gender
        • Home.City
        • Home.Country
        • Home.Fax
        • Home.Phone
        • Home.State
        • Home.StreetAddress
        • Home.Zipcode
        • Homepage
        • JobTitle
        • LastName
        • MiddleName
        • Notes
        • Office
        • Pager
        • Business.City
        • Business.Country
        • Business.Fax
        • Business.Phone
        • Business.State
        • Business.StreetAddress
        • Business.URL
        • Business.Zipcode

        The field will then add the entries from the MS Profile Assistant to the auto-complete list. Cheers, Richard

        S Offline
        S Offline
        SimonS
        wrote on last edited by
        #3

        This sounds really interesting! Can you send me a link to more info? Cheers, Simon "Every good work of software starts by scratching a developer's personal itch.", Eric S. Raymond

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups