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.
Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    Kor
    Kor is offline
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Location
    Bucharest, ROMANIA
    Posts
    8,478
    Thanks
    58
    Thanked 379 Times in 375 Posts
    My oh my... 2 days to solve a JQuery conflict. In 2 days I would have written the whole code in native JavaScript...
    KOR
    Offshore programming
    -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

  2. #17
    New Coder
    Join Date
    Dec 2010
    Posts
    62
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by venegal View Post
    What I meant was that a HTML page is supposed to have a certain structure, with a doctype, a <html> tag, a <head> and a <body>, and the thing you produced there had none of that.




    If you only knew how much comedic potential that sentence you just said there has.

    Anyway, if you're happy, I'm happy.
    this doesn't need write html structure like these
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title>Title of the document</title>
    </head>
    
    <body>
    The content of the document......
    </body>
    
    </html>

    I already said those are just my remains pf my experiment....I usually make experiment don't need care about another element that have no relation of my experiment.....

    like <html><body> and I usually did'nt close html or body tag (</html>)

    anyway thanks for help me....
    Last edited by ankifreeze; 02-19-2011 at 12:40 AM.

  3. #18
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,639
    Thanks
    6
    Thanked 1,004 Times in 977 Posts
    Quote Originally Posted by ankifreeze View Post
    I usually make experiment don't need care about another element that have no relation of my experiment.....
    Well, the irony of your statement is that sometimes things like unclosed elements do have a relation to anything you experiment with. First rule of web development (or any programming related task, if I may say): You can’t expect proper results from invalid code. For example if you have no doctype the page may display significantly different than with a proper doctype. If you don’t close elements then this will result in nesting errors and – depending on the capabilities of the browsers to handle code errors – in erroneous display of your experiment.

    So, keep this in mind: Always make sure your code is standards compliant and error free! Every experiment has to be well prepared. Why do a bad job if you can do a good job?

  4. #19
    New Coder
    Join Date
    Dec 2010
    Posts
    62
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by VIPStephan View Post
    Well, the irony of your statement is that sometimes things like unclosed elements do have a relation to anything you experiment with. First rule of web development (or any programming related task, if I may say): You can’t expect proper results from invalid code. For example if you have no doctype the page may display significantly different than with a proper doctype. If you don’t close elements then this will result in nesting errors and – depending on the capabilities of the browsers to handle code errors – in erroneous display of your experiment.

    So, keep this in mind: Always make sure your code is standards compliant and error free! Every experiment has to be well prepared. Why do a bad job if you can do a good job?
    thanks for advice...I'll try do my best..


 
Page 2 of 2 FirstFirst 12

Posting Permissions

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