HTML Lesson 2 You should print this page to help you study. Lets go over everything we have learned so far.
READY? Lets learn some tags and what they do. Every time you write HTML you must tell the browser what language you are using, so you always start with an HTML tag. So you type the < then you type html then you type > and you have your begining <html> tag that tells the browser this is HTML writing. Yes this is important. For if you were using Javascript language you would start with, <script language="javascript"> And of coarse when we are done writing, we end it all with a HTML closing tag. </html> Don't get confused yet, it will all make sense real soon No matter how much you write or how long your page or pages are, you can only use ONE PAIR of HTML tags. One to open and one to close. Oh Oh that is a rule. SORRY! I forgot to say rule No. 2. Like I said earlier there is only a few, but mabe you should write them down as we come to them so you don't forget like me. The next tag that comes after the opening HTML tag is the HEAD tag. No it's not the boss. It's just the second tag used. <html><head> </head></html> There are some things that go inbetween the 2 head tags but we will learn about that latter. They are not important right now. 1 set of tags that goes inbetween the head tags that we will use is the TITLE tags. <title> </title> O yes, you can give your page and all your pages a title. This is cool. What ever your title is will appear on the screen way up at the top. Your title does not appear on the web page only on the screen. Sorry. So we write what we have so far like this; Lets practice these new tags: Practice 2 Or you can go back to, Lesson 1 Introduction Page Home Page |