2.2 HTML

 < Day Day Up > 



HTML is a straightforward markup language designed to create hypertext documents that are platform independent. In fact, HTML has been used on the World Wide Web as the standard markup language since 1990.

HTML at its basic level is straightforward to write, and any user with a text editor can create an HTML file. With the use of advanced tags, text can be placed around pictures, line breaks forced, and tables built.

This code segment shows some common HTML tags:

<html> <head> <meta name="GENERATOR" content="Microsoft FrontPage 5.0">  <meta name="ProgId" content="FrontPage.Editor.Document">  <meta http-equiv="Content-Type" content="text/html;  charset=windows-1252">   <title>New Page 1</title>  </head>   <body>   <h1>This is the First Heading</h1>  <h2>This is the Second Heading</h2>  <p>This is the first Paragraph.</p>  <p> <img src="/books/3/203/1/html/2/file:///C:/DOCUME~1/server1/LOCALS~1/Temp/  FrontPageTempDir/XML.jpg" WIDTH="300" HEIGHT="250">This  a link to  <a HREF="file:///C:/DOCUME~1/server1/LOCALS~1/Temp  /FrontPageTempDir/TopShed.html">  the shed page</a>. This is a link to our company  <a HREF="http://www.ics-solutions.co.uk/a"> website </a>  </p>   </body>   </html>  

But at the end of the day, there is little intelligence in an HTML document. All I am doing is describing how the text is to appear on the browser screen, but not actually describing the data. This is where XML comes to the fore.



 < Day Day Up > 



Microsoft  .NET. Jumpstart for Systems Administrators and Developers
Microsoft .NET: Jumpstart for Systems Administrators and Developers (Communications (Digital Press))
ISBN: 1555582850
EAN: 2147483647
Year: 2003
Pages: 136
Authors: Nigel Stanley

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net