A user account is required in order to edit this wiki, but we've had to disable public user registrations due to spam.

To request an account, ask an autoconfirmed user on IRC (such as one of these permanent autoconfirmed members).

Difference between revisions of "Example simple"

From WHATWG Wiki
Jump to: navigation, search
(The WHATWG wiki is not the best place for HTML tutorials.)
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Step 1: The Basics of an HTML5 Document ==
+
#REDIRECT [[Authoring]]
 
 
<pre>
 
 
 
<!DOCTYPE HTML>
 
<HTML>
 
  <HEAD>
 
    <TITLE>Lost Cat!</TITLE>
 
  </HEAD>
 
  <BODY>
 
 
 
<!-- Page content -->
 
 
 
  </BODY>
 
</HTML>
 
 
 
</pre>
 
 
 
 
 
== Step 2: Adding a Heading and Paragraph ==
 
 
 
<pre>
 
 
 
<!DOCTYPE HTML>
 
<HTML>
 
  <HEAD>
 
    <TITLE>Lost Cat!</TITLE>
 
  </HEAD>
 
  <BODY>
 
    <H1>Have You Seen My Cat?</H1>
 
    <P>Moggy has been missing since 12th June, 2007 if you see her please
 
    notify <A href="mailto:ian@whatwg.org">Ian Hickson</A>.</P>
 
  </BODY>
 
</HTML>
 
 
 
</pre>
 
 
 
== Step 2: Adding an Image ==
 
 
 
<pre>
 
 
 
<!DOCTYPE HTML>
 
<HTML>
 
  <HEAD>
 
    <TITLE>Lost Cat!</TITLE>
 
  </HEAD>
 
  <BODY>
 
    <H1>Have You Seen This Cat?</H1>
 
    <!-- need to get an image of a cat -->
 
    <P><IMG src="" alt="The cat is black with white paws, and is wearing a
 
    white collar with a small bell attached."></P>
 
    <P>Moggy has been missing since 12th June, 2007 if you see her please
 
    notify <A href="mailto:ian@whatwg.org">Ian Hickson</A>.</P>
 
  </BODY>
 
</HTML>
 
 
 
</pre>
 

Latest revision as of 14:44, 9 July 2013

Redirect to: