cmdref.net - Cheat Sheet and Example

cmdref.net is command references/cheat sheets/examples for system engineers.

User Tools

Site Tools


Sidebar








Etc


Reference














.

programming:html:basic.html



Table of Contents

HTML

HTML::Basic

Format

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">

<html>
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <title> Simple document </title>
      <link rel="stylesheet" href="../style.css" type="text/css">
      <script src="../js/test.js" type="text/javascript"></script>
   </head>

   <body>
      <p>The text of the document goes here.</p>
   </body>
</html>

Explanation

HTML Version

HTML 4.01

HTML 4.01 Strict DTD includes all elements and attributes that have not been deprecated or do not appear in frameset documents.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">



HTML 4.01 Transitional DTD includes everything in the strict DTD plus deprecated elements and attributes (most of which concern visual presentation).

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">



HTML 4.01 Frameset DTD includes everything in the transitional DTD plus frames as well.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">


META




programming/html/basic.html.txt ยท Last modified: 2015/02/07 by admin

Page Tools