Explain the concept of XML. How to create webpage using this language?
How to link it with CSS? Give an example to show it .
Answers
Explanation:
stands for Extensible markup language .
It is an programming language which can be used to code both for web and for (android OS) apk's layouts.
It is used to to design the web document like by storing data or to transfer it in various parts of the document , while HTML is used to display that same data.
We can link the xml source code to an html document inside <style> tags or by implementing it in (java script)<javascript> using document attributes or by directly using XML tag defining the ENCODING VERSION.
That is : ENCODING VERSION like "UTF-8" , "UTF-16" ,"UTF-32" etc these are standerd encoding Like
"<?xml version="1.0" encoding="UTF-8"?>"
Using it at starting of HTmL document.
HTML is most common language to create web pages.
CSS (cascading style sheets) commands can be used to design within XML.
For example :
<?xml-stylesheet type="text/css" href="Yourfile.css"?>
here "yourfile" is CSS document that is linked in XML document which we want to design.
To create webpage Using XML :-
Open and create a new document in any Text editor like notepad etc.
First define xml package tag <?xml version="1.0" encoding="UTF-8"?>
Assign a tittle <title>Your title</title>( styling, header etc can also be added)
<body> Content goes on </body>
Insert end tag </xml>
Save the file with .xml or .xhtml
XML
XML = Extensible Markup language it is a text which is based on the markep language derived the XML in a basics, The main tutorial is divided into sections they are such as XML basics, XML advance, XML tools and each of these sections are related a topic.
Creating a webpage or sites.
First create a site, no programming and design are need here then add your own content and automatically looks across devices, then move drag and also drop, edit it and design than.. for to collaborate ,secure your site, requiring IT.
Linking the XML to CSS
For linking the XML file with CSS: use the file html code <xml-stylesheet type="text css"href="name_of_css_file.css">
this is the code for linking XML with CSS
Example!!
<?xml version="1.0" encoding