adding a stylesheet. create a new file log into uhunix.hawaii.edu at the % prompt type: cd...
TRANSCRIPT
![Page 1: Adding a Stylesheet. Create a New File Log into uhunix.hawaii.edu At the % prompt type: cd public_html Make a copy of your test file: cp test_file.html](https://reader036.vdocuments.site/reader036/viewer/2022082713/5697c0101a28abf838ccb486/html5/thumbnails/1.jpg)
Adding a Stylesheet
![Page 2: Adding a Stylesheet. Create a New File Log into uhunix.hawaii.edu At the % prompt type: cd public_html Make a copy of your test file: cp test_file.html](https://reader036.vdocuments.site/reader036/viewer/2022082713/5697c0101a28abf838ccb486/html5/thumbnails/2.jpg)
Create a New File• Log into uhunix.hawaii.edu
• At the % prompt type:
cd public_html• Make a copy of your test file:
cp test_file.html test_file2.html• Open your new file for public viewing:
chmod 755 test_file2.html• Open your new file for editing:
pico test_file2.html
![Page 3: Adding a Stylesheet. Create a New File Log into uhunix.hawaii.edu At the % prompt type: cd public_html Make a copy of your test file: cp test_file.html](https://reader036.vdocuments.site/reader036/viewer/2022082713/5697c0101a28abf838ccb486/html5/thumbnails/3.jpg)
Add a Few Line Spaces<html>
<HEAD><TITLE>donna's LIS 670 test file page</TITLE>
</HEAD>
<BODY>Aloha, world! This is the test file of [your name].
</BODY>
</html>
![Page 4: Adding a Stylesheet. Create a New File Log into uhunix.hawaii.edu At the % prompt type: cd public_html Make a copy of your test file: cp test_file.html](https://reader036.vdocuments.site/reader036/viewer/2022082713/5697c0101a28abf838ccb486/html5/thumbnails/4.jpg)
Start Your Style Sheet<html>
<HEAD><TITLE>donna's LIS 670 test file page</TITLE>
</HEAD>
<BODY>Aloha, world! This is the test file of [your name].
</BODY>
</html>
<style type=“text/css”>
</style>
![Page 5: Adding a Stylesheet. Create a New File Log into uhunix.hawaii.edu At the % prompt type: cd public_html Make a copy of your test file: cp test_file.html](https://reader036.vdocuments.site/reader036/viewer/2022082713/5697c0101a28abf838ccb486/html5/thumbnails/5.jpg)
Add a Declaration<html>
<HEAD><TITLE>donna's LIS 670 test file page</TITLE>
</HEAD>
<BODY>Aloha, world! This is the test file of [your name].
</BODY>
</html>
<style type=“text/css”>
</style>
body { background-color : #FFDDFF ; }
Use
Ctrl + o
to save your changes
![Page 6: Adding a Stylesheet. Create a New File Log into uhunix.hawaii.edu At the % prompt type: cd public_html Make a copy of your test file: cp test_file.html](https://reader036.vdocuments.site/reader036/viewer/2022082713/5697c0101a28abf838ccb486/html5/thumbnails/6.jpg)
Adding div Tags<html>
<HEAD><TITLE>donna's LIS 670 test file page</TITLE>
<style type=“text/css”>body { background-color : #FFDDFF ; }</style>
</HEAD>
<BODY>
Aloha, world! This is the test file of [your name].
</BODY>
</html>
</div>
<div>
Use
Ctrl + o
to save your changes
![Page 7: Adding a Stylesheet. Create a New File Log into uhunix.hawaii.edu At the % prompt type: cd public_html Make a copy of your test file: cp test_file.html](https://reader036.vdocuments.site/reader036/viewer/2022082713/5697c0101a28abf838ccb486/html5/thumbnails/7.jpg)
Formatting a Division<html>
<HEAD><TITLE>donna's LIS 670 test file page</TITLE>
<style type=“text/css”>body { background-color : #FFDDFF ; }
</style>
</HEAD>
<BODY><div>Aloha, world! This is the test file of [your name]. </div>
</BODY>
</html>
div { background-color : DDFFFF ; }
Use
Ctrl + o
to save your changes
![Page 8: Adding a Stylesheet. Create a New File Log into uhunix.hawaii.edu At the % prompt type: cd public_html Make a copy of your test file: cp test_file.html](https://reader036.vdocuments.site/reader036/viewer/2022082713/5697c0101a28abf838ccb486/html5/thumbnails/8.jpg)
Formatting a Division<html>
<HEAD><TITLE>donna's LIS 670 test file page</TITLE>
<style type=“text/css”>body { background-color : #FFDDFF ; }div { background-color : DDFFFF ;
}</style>
</HEAD>
<BODY><div>Aloha, world! This is the test file of [your name]. </div>
</BODY>
</html>
margin : 10em ;
Use
Ctrl + o
to save your changes
![Page 9: Adding a Stylesheet. Create a New File Log into uhunix.hawaii.edu At the % prompt type: cd public_html Make a copy of your test file: cp test_file.html](https://reader036.vdocuments.site/reader036/viewer/2022082713/5697c0101a28abf838ccb486/html5/thumbnails/9.jpg)
Formatting a Division<html>
<HEAD><TITLE>donna's LIS 670 test file page</TITLE>
<style type=“text/css”>body { background-color : #FFDDFF ; }div { background-color : DDFFFF ; margin : 10em ;
}</style>
</HEAD>
<BODY><div>Aloha, world! This is the test file of [your name]. </div>
</BODY>
</html>
padding : 20px ;
Use
Ctrl + o
to save your changes
![Page 10: Adding a Stylesheet. Create a New File Log into uhunix.hawaii.edu At the % prompt type: cd public_html Make a copy of your test file: cp test_file.html](https://reader036.vdocuments.site/reader036/viewer/2022082713/5697c0101a28abf838ccb486/html5/thumbnails/10.jpg)
Formatting a Division<html>
<HEAD><TITLE>donna's LIS 670 test file page</TITLE>
<style type=“text/css”>body { background-color : #FFDDFF ; }div { background-color : DDFFFF ; margin : 10em ;padding : 20px ;
}</style>
</HEAD>
<BODY><div>Aloha, world! This is the test file of [your name]. </div>
</BODY>
</html>
border : solid #005500 ;
Use
Ctrl + o
to save your changes
![Page 11: Adding a Stylesheet. Create a New File Log into uhunix.hawaii.edu At the % prompt type: cd public_html Make a copy of your test file: cp test_file.html](https://reader036.vdocuments.site/reader036/viewer/2022082713/5697c0101a28abf838ccb486/html5/thumbnails/11.jpg)
Adding a Link<html>
<HEAD><TITLE>donna's LIS 670 test file page</TITLE>
<style type=“text/css”>body { background-color : #FFDDFF ; }div { background-color : DDFFFF ; margin : 10em ;padding : 20px ;border : solid #005500 ;}</style>
</HEAD>
<BODY><div>Aloha, world! This is the test file of [your name]. </div>
</BODY>
</html>
<a href="test_file.html">Visit my original test file.</a>Use
Ctrl + o
to save your changes