User:Amy Suo Wu/the joys of html: Difference between revisions
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 ...") |
Amy Suo Wu (talk | contribs) No edit summary |
||
Line 7: | Line 7: | ||
*Everything enclosed in tags are elements | *Everything enclosed in tags are elements | ||
*Elements can have an attribute, e.g colour, font etc. | *Elements can have an attribute, e.g colour, font etc. | ||
*To break, | *To break,<br/> or<br></br> | ||
*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. | *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. | e.g utf character encoding. Javascript or CSS is declared here. | ||
Line 47: | Line 47: | ||
</source> | </source> | ||
== Hypertext linking == | |||
* |
Revision as of 11:25, 26 May 2011
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>