Quiz 1 Review

  • Comments Off on Quiz 1 Review

QUIZ REVIEW:

 

What is a Server?

+++++++++++++++++

<html>

<head>

<body>

 

nesting tags

 

+++++++++++++++++

Tags and Attributes

<tags>

<tags att=”value” att=”value”>

<table width=”600px”>

 

+++++++++++++++++

<h1> <h6>

<p>

<strong>

<em>

<br />

<hr />

 

Lists:

<ol> vs <ul>

<li>

 

+++++++++++++++++

Linking:

<a href=”weborurl”>Content text or image</a>

 

Linking to a folder within the same directory, write the directory path.

ex. <a href=”about/about.html”></a>

RELATIVE PATH

 

Linking to a site outside of the directory, write the http://.

ex <a href=”http://www.csun.edu/about/about.html”></a>

ABSOLUTE PATH

 

Directory path for relative links:

a. same folder

<a href=”file.html” target=”blank”></a>

 

b. child folder

<a href=”folder/file.html”></a>

 

c. grandchild folder

<a href=”folder/folder/file.html”></a>

 

d. parent folder

<a href=”../file.html”></a>

 

e. grandparent folder

<a href=”../../file.html”></a>

 

Open a new window attribute:

target=”_blank”

 

Email:

<a href=”malto:email@mac.com”>content</a>

 

+++++++++++++++++

Images:

<img src=”path/file.jpg” width=”100px” height=”450px” align=”left”/>

 

attributes:

align= left center right top middle bottom

 

 

IMAGE FILE TYPES:

gif +/-

jpg +/-

png +/-

 

alternate text descriptions?

 

+++++++++++++++++

TABLES:

height and width

<table>

<tr>

<td>

<table>

</table>

</td>

<td></td>

</tr>

<tr>

<td></td>

<td></td>

</tr>

</table>

 

++++++++++++

 

Class vs ID vs Tag

. vs # vs <>