You will need a USB flash drive for this course. Any flash drive will do. You should be able to buy a 8GB drive for $10 or less. (Note: these drives do fail every once in a while, so back up your work periodically!)
If you don't have a USB flash drive, use a folder (directory) on your desktop instead. When you get a drive, repeat today's lab at home. (The second time will be easier than the first.)
CIS228
. (Note: capitalization and lack of spaces is important.)PROGECT
and LABS
.LABS
directory, create a sub-directory: LAB1
.Save page as...
blog.htmlin the
CIS228
directory on your thumbdrive.Windows Explorer
. Unhide file extensions (see step 3, page 15). Go to your CIS228
directory.blog.html
file with Notepad
.[Your Name Goes Here]to your name.
Windows Explorer
. Unhide file extensions (see step 3, page 15).Notepad
. Save As hello.html
in your LAB1
directory.html
element:
< h t m l >
. < / h t m l >
.head
and body
elements:
< h e a d >
, leave a blank line, type: < / h e a d >
. < b o d y >
, leave a blank line, type: < / b o d y >
.body
element, create a paragraph element.
Type: < p > H e l l o W o r l d < / p >
.
head
element, create a title
element.
Type: < t i t l e > M y F i r s t W e b P a g e < / t i t l e >
.
Internet Explorer
.Firefox
.Chrome
.hello.html
with Notepad
.
head
element,
after the title
element,
create a script
element:
< s c r i p t >
. < / s c r i p t >
.
w i n d o w . o n l o a d = f u n c t i o n ( ) { a l e r t ( " H i " ) ; } ;
.
Internet Explorer
.Firefox
.Chrome
.LAB1
directory, create a starbuzz
sub-directory.Source
for this page in your browser.Save Page As
index.htmlin your
starbuzz
directory.Always turn off your computer and screen before leaving the room.