HTML Code Editor - by Bob Cozby
View and Edit the code below, and Display your results at the right.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Page 1</title> </head> <body> <h2>Page One - Basic Layout and Paragraphs</h2> <p>This page is the most basic of web pages.</p> <p>One headline (h2), and five paragraphs (p) were used on this page, and each tag was closed (/h2) and (/p) at the end of its use.</p> <p>All web pages have a HEAD and a BODY. The hidden instructions (in the HEAD) are needed by your computer to define the document. The code in the BODY is the visible portion of the page. No one can see what's in your head, but they can see the colors of your clothes, shoes, or hair. That's similar to how the HEAD and BODY work together in a web document.</p> <p>For the simpliest pages, the only tag required within the HEAD of the document is the "title". The title displays in the title bar of your browser. ALWAYS give your page a title, otherwise, it will be an "Untitled Document". This Code Editor has its own title ("Online HTML Creator"). Renaming the title in the code will not change your titlebar.</p> <p>The !DOCTYPE at the top, defines how your computer interprets (parses) the code. "Transitional" allows for the use of some older elements and coding techniques.</p> </body> </html>
©2012. Bob Cozby. TEXAS: Landmarks and Legacies