Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: 5 html mistakes

  1. #1
    Join Date
    Aug 2009
    Posts
    399
    Thanks
    42
    Thanked 4 Times in 4 Posts

    Default 5 html mistakes

    Hi,
    I faced these mistakes... can't solve them alone. Here is the link: http://validator.w3.org/check?uri=ww...Inline&group=0

  2. #2
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    try changing
    HTML Code:
    <div id="meniu">
    	<form method='post' action='login.php'>
    
    		Nick <input class="input" type='text' name='nick' size='10'><div></div>
    		Code <input class="input" type='password' name='password' size='10'><div></div>
    		<input class="sub" type='submit' name='enter' value='Enter'>
    	</form>
    </div>
    to
    HTML Code:
    <div id="meniu">
    	<form method='post' action='login.php'>
    		<p>
    			Nick <input class="input" type='text' name='nick' size='10'><div></div>
    			Code <input class="input" type='password' name='password' size='10'><div></div>
    			<input class="sub" type='submit' name='enter' value='Enter'>
    		</p>
    	</form>
    </div>
    It's just telling you to put text and <inputs> in some sort of container (putting them directly in a <form> doesn't count)

  3. The Following User Says Thank You to traq For This Useful Post:

    auriaks (07-27-2010)

  4. #3
    Join Date
    Aug 2009
    Posts
    399
    Thanks
    42
    Thanked 4 Times in 4 Posts

    Default

    yea, it was part of an answer... Thanks

  5. #4
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    Glad I could help. I thought you were checking your page as html5 before...? Did you actually intend to use 4.01?

  6. #5
    Join Date
    Aug 2009
    Posts
    399
    Thanks
    42
    Thanked 4 Times in 4 Posts

    Default

    what do you mean "intend"? I was told to use it, like it was a great option

  7. #6
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    no, it is a great option. I thought (I may be mistaken) that you were originally checking it as html5. There's no problem.

  8. #7
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Perhaps the title "5 html mistakes"... if you read that quickly...
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  9. #8
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

  10. #9
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I recently had a run in of sorts with one of the folks who helps maintain the standards for HTML 5. Things ended amicably enough. In the process I learned that in HTML 5, along with many enhanced features, quite a few of which aren't yet implemented in some and/or all browsers, that at least several, if not more, of the standards from HTML 4.01 and XHTML 1.0 strict and transitional have been relaxed. Just as an example, the type attribute is no longer required for style or script blocks as long as they are the defaults (text/css and text/javascript, respectively).
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  11. #10
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Interesting, John. HTML 5 makes me excited in some ways, but at the same time I feel like it's going to be a mess for years until browsers adopt it. Just like with XHTML, it may not be until HTML6 that HTML5 finally "Works" at which point we'll all be trying to use HTML6 anyway, just like now waiting for HTML5.

    Is there any way that they're going to try to fix this cycle?


    Auriaks, sorry for interrupting your thread, but I think all of your questions are answered. If not, let us know.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

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
  •