Pirate's profilePirate's bayPhotosBlogListsMore ![]() | Help |
|
November 22 Lesson 3<html> <body> <!--font color="red" will tell the browser the font's color should be red.--> <font color="red"> <h1 align="center" >This is heading 1</h1> <!-- h1 is telling the the format of "This is heading1" you can try to use h2;h3 to see what will happen here, align="center" is telling the browser it should station "The is heading1" at the center place of the browers. You can try to change it as "left";"middle"&"right" to see what will happen--> </font> <!--</font> is telling the brower the font color is over now--> <!--Because the font color above is over , then now the font's color recover its default color black--> <p>Hello , I am a pirate, carefully your treasure. . LOL</p> <!-- Do you find some things here , the browser will not display things you write here . The place is a place for the programer to write comment here to mention themselves what they wrote here . --> </body> </html> <!-- copy those above including this line to a file as I told you before --> November 18 Lesson 2<html> <body> <table border="1" width="100%" height="100%"> /table is telling the browser , it is building a talbe , its border 's width is 1, sure you can write 2,etc;width is telling you the table 's weidth is the brower's width 's 100 percent, you can try others number; What is the height? I think you can figure it out./ <tr height="30%" > /tr is telling the browers that this is a row (just like -------- , not this row |) , about height here , same with last / <td colspan="2">header</td> /td is telling the brower here is a volume, just like |; colspan is telling the volume will oppucy two width of the next tr's td. That means a person will take two people's place ; The header , you can write anything you want to write there , the place is just for you to write things you want to write./ </tr> <tr height="70%"> <td width="20%">hello </td> <td width-"70%">how are you</td> </tr> </table> /Open notepad , and save those red letter as a file and name it as XXX.html and open the file in your browser. / November 05 I Come Back Hi, I can log in my MSN blog again. Here is the lesson 1 . Lesson1 for my friend HTML - It is Hyper Text Markup Language. A HTML file can be created using a simple text editor ,if you are using window , start notepad. If you are using a Mac , start Simple Text Open your Notepad Type in the following text: <html> <head> <title>Title of page</title> </head> <body> This is my first homepage. <b>This text is bold</b> </body> </html> Save the file as "mypage.htm" or a name which you like in your hard disk, but the extention must be .htm or .html for example "mypage.html" .For new software , you should perfer .html. Open the file "mypage.htm" with your internet brower. Your internet brower-File-Open File to find the file "mypage.htm", click open. Explaning: <html> This tag tells your brower a html is starting. </html>This tag tells your brower a html is ending. <head> </head> tag is header information. Header information will not be displayed in a brower window. <tile> </tile> tell you the document's tile , things between <title> </tile> will be displayed in your brower's caption. <body> </body> The text between <body></body> will be displayed in your brower. <b> </b> The text between the <b> </b> tags will be displayed in a bold font. |
|
|