What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Is there a way to include (in PHP) with javascript?

Is there a way to include (in PHP) with javascript?
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Is there a way to include (in PHP) with javascript?
Who said that? It's not because (most) browsers support it, that you should use it... What is wrong with HTML? If you don't have a use for XHTML then why use it? XHTML is an extention to HTML... BTW, most pages I encountered on the web that claim to be XHTML don't even have a DTD specification and are just normal HTML pages (but with the error like /> in them)... So don't mix up standards ;)


To give examples:
For non-empty elements, end tags are required in XHTML. This means you can't use:
  <p>this is a line<p>this is a new line.
but you must use:
  <p>this is a line</p><p>this is a new line.</p>
This is not required in HTML. Now look at the source of this thread... It claims to be XHTML, but yet <p> is used without </p>.

Attribute values must always be quoted in XHTML. That's something many people forget. You can't use:
  <img with=100 height=100 src=http://blahblah>
but you must use:
  <img with="100" height="100" src="http://blahblah">
This is not required in HTML.

My whole point is, don't use XHTML if you don't need it. You don't use Flash either if you don't have a use for it ;)

This post was edited on 05-28-2004 at 03:30 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
05-28-2004 03:13 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Is there a way to include (in PHP) with javascript? - by Art Crazy on 05-27-2004 at 08:20 PM
RE: Is there a way to include (in PHP) with javascript? - by Banks on 05-27-2004 at 08:31 PM
RE: Is there a way to include (in PHP) with javascript? - by Art Crazy on 05-27-2004 at 08:33 PM
RE: Is there a way to include (in PHP) with javascript? - by lhunath on 05-27-2004 at 08:37 PM
RE: Is there a way to include (in PHP) with javascript? - by Art Crazy on 05-27-2004 at 08:40 PM
RE: Is there a way to include (in PHP) with javascript? - by lhunath on 05-27-2004 at 08:50 PM
RE: Is there a way to include (in PHP) with javascript? - by lylesback2 on 05-27-2004 at 10:36 PM
RE: Is there a way to include (in PHP) with javascript? - by Guido on 05-27-2004 at 10:54 PM
RE: Is there a way to include (in PHP) with javascript? - by lizard.boy on 05-28-2004 at 01:21 AM
RE: Is there a way to include (in PHP) with javascript? - by CookieRevised on 05-28-2004 at 10:08 AM
RE: Is there a way to include (in PHP) with javascript? - by fluffy_lobster on 05-28-2004 at 02:03 PM
RE: Is there a way to include (in PHP) with javascript? - by CookieRevised on 05-28-2004 at 03:13 PM
RE: Is there a way to include (in PHP) with javascript? - by fluffy_lobster on 05-28-2004 at 04:15 PM
RE: Is there a way to include (in PHP) with javascript? - by WDZ on 05-28-2004 at 05:14 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On