Alexander_john Posted March 2, 2012 Share Posted March 2, 2012 Hello, I wana to know is Java Script is also a part oh HTML? Quote Link to comment https://forums.phpfreaks.com/topic/258110-help-me/ Share on other sites More sharing options...
requinix Posted March 2, 2012 Share Posted March 2, 2012 Depends how you look at it. Quote Link to comment https://forums.phpfreaks.com/topic/258110-help-me/#findComment-1323112 Share on other sites More sharing options...
Maq Posted March 2, 2012 Share Posted March 2, 2012 I would suggest reading some tutorials and trying some examples so you better understand the two. Quote Link to comment https://forums.phpfreaks.com/topic/258110-help-me/#findComment-1323153 Share on other sites More sharing options...
trq Posted March 3, 2012 Share Posted March 3, 2012 No, JavaScript is not at all related to HTML. Quote Link to comment https://forums.phpfreaks.com/topic/258110-help-me/#findComment-1323353 Share on other sites More sharing options...
dannyb785 Posted March 3, 2012 Share Posted March 3, 2012 Javascript is like css, while it is certainly different from html, both are useless without html. You can have html without javascript but you can't have javascript without html. Javascript helps html be more useful, but html can work by itself. Quote Link to comment https://forums.phpfreaks.com/topic/258110-help-me/#findComment-1323374 Share on other sites More sharing options...
trq Posted March 3, 2012 Share Posted March 3, 2012 You can have html without javascript but you can't have javascript without html. Um, indeed you can. That is like saying PHP is useless without HTML, but you can build applications with PHP that have nothing at all to do with HTML or the web. Same goes for JavaScript. Quote Link to comment https://forums.phpfreaks.com/topic/258110-help-me/#findComment-1323381 Share on other sites More sharing options...
dannyb785 Posted March 3, 2012 Share Posted March 3, 2012 You can have html without javascript but you can't have javascript without html. Um, indeed you can. That is like saying PHP is useless without HTML, but you can build applications with PHP that have nothing at all to do with HTML or the web. Same goes for JavaScript. Can you give an example of javascript being used without html? And what applications in php are used that are unrelated to the web? PHP means "Hyptertext preprocessor", so I'd say in its definition it's used for html(hypertext markup language) EDIT: now that I think of it, I suppose php can be used to move files around and do server-side things that don't require html to be output, but it'd still require a browser or similar program to begin execution(even with cron jobs) Quote Link to comment https://forums.phpfreaks.com/topic/258110-help-me/#findComment-1323386 Share on other sites More sharing options...
trq Posted March 3, 2012 Share Posted March 3, 2012 Can you give an example of javascript being used without html? This list here contains many. And what applications in php are used that are unrelated to the web? PHP means "Hyptertext preprocessor", so I'd say in its definition it's used for html(hypertext markup language) There are numerous: phpunit, phake & phrozn come to mind. Quote Link to comment https://forums.phpfreaks.com/topic/258110-help-me/#findComment-1323391 Share on other sites More sharing options...
dannyb785 Posted March 3, 2012 Share Posted March 3, 2012 I honestly don't know what any of that stuff is. But based on their brief descriptions, they all seem web-related. oh well, this is a question about semantics, and the person asking the original question clearly had no idea what they were asking Quote Link to comment https://forums.phpfreaks.com/topic/258110-help-me/#findComment-1323394 Share on other sites More sharing options...
trq Posted March 3, 2012 Share Posted March 3, 2012 Yeah, while allot of those libraries, frameworks and application are web related, allot of them also are not. JavaScript is just a scripting language like any other. It has command line interfaces available, but also happens to be the standard language embedded into browsers. Take a look at node.js. Quote Link to comment https://forums.phpfreaks.com/topic/258110-help-me/#findComment-1323397 Share on other sites More sharing options...
rythemton Posted March 23, 2012 Share Posted March 23, 2012 In web pages, HTML is the content of the page, CSS defines how the content appears, JavaScript modifies and adds interaction to the page. Quote Link to comment https://forums.phpfreaks.com/topic/258110-help-me/#findComment-1330405 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.