130 likes | 218 Views
HTML Webpages. Samples. Open up Internet Explorer Browser NDCL.org Go to Page—View Source Sample 1 Sample 2 Sample 3. Open Notepad. Found under Start—Programs—Accessories. Save File Twice. Create New Folder Call it “Webpage” File—Save As Index.txt File—Save As Index.html.
E N D
Samples Open up Internet Explorer Browser NDCL.org Go to Page—View Source Sample 1 Sample 2 Sample 3
Open Notepad Found under Start—Programs—Accessories
Save File Twice • Create New Folder • Call it “Webpage” • File—Save As • Index.txt • File—Save As • Index.html
Webpage Folder Every item in your webpage must be saved here X
Begin Typing Code All tags must be typed inside angle brackets <>=start </>=stop
On Tags Can start or turn on commands <html> Indicates to browser page is written in HTML <head> Used to enter information about page Does not appear on page <title> What you want to appear in title bar of browser window <body> The content users will see must be typed following this
Off Tags Can stop or turn off commands </title> Used to stop the title </head> Used to stop heading </body> Comes directly before the html off tag </html> Last command in notepad
Saving File Save As--index.txt File Save As--index.html Refresh Page
Let’ s Get Started <html> <head> <title>My First Webpage </title> </head> <body>
<body> • Everything you want on your webpage follows this tag • <font face=arial>Hello</font>
Background • <body bgcolor=red>
Image for Background • Find an image and save it to your webpage folder • Type this code inside the body on tag • <bodybackground=“file.jpg”