User:Amy Suo Wu/the joys of html

From XPUB & Lens-Based wiki
< User:Amy Suo Wu
Revision as of 12:23, 26 May 2011 by Amy Suo Wu (talk | contribs) (Created page with "== lesson 1, HTML 4 for dummies == *HTML: Hyper text mark-up language. XML, SMIL *The W3C standardized it. *Browsers can implement this standard. *Everything enclosed in tags ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

lesson 1, HTML 4 for dummies

  • HTML: Hyper text mark-up language. XML, SMIL
  • The W3C standardized it.
  • Browsers can implement this standard.
  • Everything enclosed in tags are elements
  • Elements can have an attribute, e.g colour, font etc.
  • To break, "
    or

    "
  • Header: declare title--> what you see on the top of the browser. Here is the metadata--> what is this page and how to treat it.

e.g utf character encoding. Javascript or CSS is declared here.

  • Body is visible content
  • is image
<html>
<head>
<title>lesson 01</title>
</head>

<body bgcolor="FF0000">

<h1>
HTML FOR DUMMIES
</h1>

<center>
<h2>
lesson 01
</h2>

<p>
Hi, my name is amy. <br />
<strong>blah blah</strong>
</p>

<p>
HTML is kinda boring, but useful.HTML is kinda boring, but useful.HTML is kinda boring, but useful.
<br />
<img src="pics/under-construction-2.png" width="256" height="256" >
</p>

</center>
</body>
</html>