SHAWKANI Posted October 25, 2006 Share Posted October 25, 2006 Hi everybody in this fantastic school !I have just regestired and I have a question. Is there another language to be used instead of HTML or XHTML?So the code will not start with <HTML> tages.Is this possible!Because all source codes for any web pages such as asp, php, ...should contain html tages.I hope you will answer me.Regarding,Shawkani Link to comment Share on other sites More sharing options...
Jonas Posted October 25, 2006 Share Posted October 25, 2006 No, html is the only language for making a webpage. Languages like asp and php are called serverside programming languages, and are used to output varying html based on arguments and tests. Asp and php are used to make a site dynamic and interactive, so the site changes depending on what the user does with his mouse/keyboard. This forum for example is written in php, meaning php is used to process, write and store in a database the things we write in here. If you look at the source of this page, it's still html you'll see, because the php code is taken out of the document after being transformed on the server. Link to comment Share on other sites More sharing options...
croatiankid Posted October 25, 2006 Share Posted October 25, 2006 If your awesome at javascript you probably could. Link to comment Share on other sites More sharing options...
Chocolate570 Posted October 25, 2006 Share Posted October 25, 2006 Yes, but you'd need to put the javascript in a <script > tag, which has to be in an <html> tag. Link to comment Share on other sites More sharing options...
boen_robot Posted October 25, 2006 Share Posted October 25, 2006 Well, you could also create an XML document and style it with CSS to get an HTML like view and use XLink it it to mimic HTML links.You can also use SVG with or without CSS to get a Flash like view.And no. Unlike Flash, SVG doesn't need to be called from an <object> element or anything, though it could be. Link to comment Share on other sites More sharing options...
smiles Posted October 25, 2006 Share Posted October 25, 2006 if your site is Flash site so your site will be http://something.swf , no HTML and even noone see your source code because it not existproblem here is do you want your site ending with .swf extension Link to comment Share on other sites More sharing options...
boen_robot Posted October 25, 2006 Share Posted October 25, 2006 if your site is Flash site so your site will be http://something.swf , no HTML and even noone see your source code because it not existproblem here is do you want your site ending with .swf extension Actually it will be http://something.com/something.swf .In order to serve the file as an index file (that is- no need to explicitly point to the file), you do the same thing as you do for other file types: you set the server to use this file as an index:DirecotryIndex something.swf something.xml something.svg something.php something.htm something.html Link to comment Share on other sites More sharing options...
scott100 Posted October 27, 2006 Share Posted October 27, 2006 Is there another language to be used instead of HTML or XHTML?So the code will not start with <HTML> tages.Is this possible!Yes it's possible, like Boen Robot says you can use xml, xml allows you to create your own tags, then to display them you can use css.xml code starts with:<?xml version=“1.0”?> Ahh here we go, an example http://www.w3schools.com/xml/cd_catalog_with_css.xmlTo see the xml view sourceTo see the css: http://www.w3schools.com/xml/cd_catalog.css Link to comment Share on other sites More sharing options...
SHAWKANI Posted October 28, 2006 Author Share Posted October 28, 2006 Yes it's possible, like Boen Robot says you can use xml, xml allows you to create your own tags.Yes, that is right i saw the page and the source code.But why in the introduction at xml section in the w3schools says:XML is not a replacement for HTML http://www.w3schools.com/xml/xml_whatis.aspyou will found this in main differences thanks, Link to comment Share on other sites More sharing options...
scott100 Posted October 28, 2006 Share Posted October 28, 2006 Yes, that is right i saw the page and the source code.But why in the introduction at xml section in the w3schools says:XML is not a replacement for HTML http://www.w3schools.com/xml/xml_whatis.aspyou will found this in main differences thanks, It is important to understand that XML is not a replacement for HTML. In future Web development it is most likely that XML will be used to describe the data, while HTML will be used to format and display the same data.SoXML = the storage of dateXSL = display XML as HTMLThe XML data is displayed with HTML tags - separating content and display. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now