SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: Input foam

  1. #1
    SitePoint Member kompile's Avatar
    Join Date
    Jul 2008
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Input foam

    What are different
    PHP Code:
    <input type="text" name="name">
    <
    input type="text" name="email">
    <
    input type="text" name="username"
    With the (if I use a dreamweaver, the codes will be create )
    PHP Code:
    <input type="text" name="name" />
    <
    input type="text" name="email" />
    <
    input type="text" name="username" /> 
    Who is the true code can be used?
    If it doesn't kill me it can only make me stronger

  2. #2
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,810
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    The first of those is the HTML syntax and the second is XHTML.

    Which you get from Dreamweaver depends on which doctype you have it set to use.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">


Bookmarks

Posting Permissions

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