Web design & Internet tutorials
Search the site...
Home» Tutorials » Dreamweaver CS6 » The Simplest HTML5 Page: Code Sample to copy and paste

The Simplest HTML5 Page: Code Sample to copy and paste

Posted by Janine Warner - June 16, 2012 - Dreamweaver CS6, Mobile Web Design, Tutorials
1

If you’ve been thinking that HTML5 is completely different from other flavors of HTML, you may be surprised to discover that the only required difference is the doctype line that appears at the very top of the file.

Here’s an example of a very simple HTML5 page.

<!DOCTYPE html>
<html lang=”en”>
<head>
<meta charset=”UTF-8″>
<title>This is a simple page title</title>
</head>
<body>
<p>The content for a simple page goes here.</p>
</body>
</html>

Of course, there’s more to it if you want to create more complicated HTML5 documents. Most of the new HTML5 tags are designed to better describe the content and are intended to replace some of the <div> tags. For example, there is now a tag for <header> and another called <footer> reflecting the fact that so many websites include <div> tags with class or ID styles named footer and header

For more information about HTML5 tags, visit http://www.w3schools.com/html/html5_intro.asp

dwcs6, mobile web design

One comment on “The Simplest HTML5 Page: Code Sample to copy and paste”

  1. Manasseh says:
    March 12, 2015 at 11:44 am

    Thanks i can now start my own website and this was definitely helpful

Leave a Reply

You must be logged in to post a comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

1&1 Hosting

Recent Posts

  • Google Analytics for Creative Professionals – new class on Pluralsight
  • Follow the cursor JavaScript sample
  • Part Four: Tools that let amateurs look like professionals
  • Part Three: Influence, Klout and finding what’s hot
  • Best social media tools part 2: Twitter, Instagram and Pinterest




© 2001 - 2020 All rights reserved. DigitalFamiliy.com | Terms & Conditions of Use | Privacy Policy

This is a demonstration store. No physical products will be shipped. Dismiss