Monday 30 September 2013

PHP AND WEB DESIGN IN BRIEF

HTML-BASIC:

<HEAD>:-has sub elements that define header material.
<title>:-document title
<meta>:-provides information such as page keywords,descryption that appears in http headers
<script>:-contains vbscript and javascript
<bgcolor>:-for background color
<background>:-for changing the background image.

<h1>…….<h6>:-heading tags
<br>:-for breaking the line
<font>:-for changing font color,style and size of the text
Ex:-<font size=“5” color=“red”>
<b>:-bold
<i>:-italic
<u>:-underline
Align:-<div align=“left”>:-for alignment
List:-1)<ul type=“square”>
<li>a</li></ul>
1)<ol type=“1”>
<li>a</li></ol>


Inserting images:-
<img src=“abc.jpg” alt=“abc” align=“center”><height=“50” width=“50”>
Links to other documents:-

<a href=“abc.php”>next</a>

TABLE:

<table border=“1”>
<tr>
<th>column1 header</th>
<th>column2 header</th>
</tr>
<tr>
<td>row1 col1</td>
<td>row1 col2</td>
</tr>
<tr>
<td>row2 col1</td>
<td>row2 col2</td>
</tr>
<tr>
<td>row3 col1</td>
<td>row3 col2</td>
</tr>
</table>

FRAMESET:

“DOC                                                                                                          <FRAMSET COLS=“23%,77%”>
<FRAME SRC=“DOC1.HTML” NAME=“LEFT_PANE” SCROLLING=“NO”>
<FRAME SRC=“DOC2.HTML” NAME=“RIGHT_PANE” SCROLLING=“YES”>
<FRAMESET>