bradjoe96 Founder
Warning Level : Posts : 159 Points : 69377 Reputation : 600 Join date : 2009-03-29 Age : 28 Location : United States
| Subject: BASIC HTML Document Wed Sep 02, 2009 9:32 am | |
| Ok, so this is how a simple HTML document is set up. All HTML document start with <html> to let you know that the document will be written in HTML. Then you need to make a head by typing <h1>, <h2>, etc. And then typing a Header. Then, you need to make a body, so type <body> then do a break between your header and your body (optional) by doing <br> then typing the body of the document. To end the document, you must type </body> then </html>. You must end all commands with / followed by the starting command. So, here is an example: - Code:
-
<html> <h2>My Header</h2> <br> <body> Hello, this is my first HTML document. <br> I am posting this on a forum. </body> </html>
| |
|
Craighton Moderator
Warning Level : Posts : 7 Points : 54998 Reputation : 0 Join date : 2009-06-04 Location : Seattle Washington
| Subject: Re: BASIC HTML Document Thu Sep 03, 2009 6:32 am | |
| Don't forget about <div> that code is your friend when you are managing a lot of code | |
|