Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-18-2011, 06:58 PM   PM User | #16
Kor
Red Devil Mod


 
Kor's Avatar
 
Join Date: Apr 2003
Location: Bucharest, ROMANIA
Posts: 8,478
Thanks: 58
Thanked 379 Times in 375 Posts
Kor has a spectacular aura aboutKor has a spectacular aura about
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
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Kor is offline   Reply With Quote
Old 02-19-2011, 12:09 AM   PM User | #17
ankifreeze
New Coder

 
Join Date: Dec 2010
Posts: 62
Thanks: 2
Thanked 0 Times in 0 Posts
ankifreeze is an unknown quantity at this point
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..
ankifreeze is offline   Reply With Quote
Old 02-19-2011, 01:57 AM   PM User | #18
VIPStephan
The fat guy next door


 
VIPStephan's Avatar
 
Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 7,579
Thanks: 5
Thanked 864 Times in 841 Posts
VIPStephan is a jewel in the roughVIPStephan is a jewel in the roughVIPStephan is a jewel in the rough
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?
__________________
Don’t click this link!
VIPStephan is offline   Reply With Quote
Old 02-19-2011, 02:23 AM   PM User | #19
ankifreeze
New Coder

 
Join Date: Dec 2010
Posts: 62
Thanks: 2
Thanked 0 Times in 0 Posts
ankifreeze is an unknown quantity at this point
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..
ankifreeze is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:24 PM.


Advertisement
Log in to turn off these ads.