 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
JSM
Joined: 25 Oct 2004 Posts: 15
|
Posted: Fri Oct 29, 2004 8:54 am How to indent HTML code? |
|
|
|
My teacher will mark the code I used but wants it to be indented, could someone help me indent the code below please:
| Code: |
<html>
<head>
<title>Protocols</title>
</head>
<body vlink="black" link="black" bgcolor="black">
<table border="1" align="center" width=100%>
<tr><td colspan="4" align="center" bgcolor="dodgerblue"><font size=20 color="white"><a href="index.html"><b><br><img src="images/top.gif" border=0></a></b></font></td></tr></color>
<tr><td width=25% bgcolor="dodgerblue"><center><img src="images/ad.gif" width=85 height=85 border=1 alt="AD"></td>
<td colspan="3" bgcolor="dodgerblue"><font size=8 color="white"><center><a href="dictionary.html">Dictionary</a> | <a href="map.html">Map</a> | <a href="signon.html">Sign-on</a><br></font></center></td></tr></font></center>
<tr>
<td colspan="2" valign=top bgcolor="black">
<table border="1" width=80% align="center">
<td bgcolor="dodgerblue"><center><font size=5 color="white">General<HR>
<a href="index.html">Index</a><p><a href="dictionary.html">Dictionary</a><p><A href="map.html">Map</a><p><A href="signon.html">Sign-on</a><p><hr>Wireless<hr><a href="PDA.html">PDAs</a><p><a href="3GPhone.html">3G Phones</a><p><a href="protocols.html">Protocols</a><p></center></table></font>
<td colspan="2" valign=top bgcolor="dodgerblue"><br><B><font size=8><center>PROTOCOLS</B><p></center></font><br>
<center><font size=4>
<ol>
<li>Essential principles of radio communications</li>
<ul>
<li>Electromagnetic radiation
<li>Review of RF bands
<li>Radio propagation principles
<li>Super heterodyne receiver
<li>Path loss
<li>Multipath effects
<li>Multipath Rayleigh fading
<li>Delay spread
<li>Frequency-selective fading
<li>Comparison of modulation techniques
<li>Types of modulators and demodulators<p>
</ul>
<li>Information Theory</li>
<ul>
<li>Shannon's equation
<li>Why code?
<li>Multitone (OFDM) Techniques
<li>Coding Techniques
<li>Block & Reed-Solomon coding
<li>Interleaving
<li>Viterbi algorithm
<li>Trellis coding
<li>Convolutional coding
<li>Turbo coding
<li>Continuous Phase Modulation, CPM<p>
</ul>
<li>Mobile radio systems</li>
<ul>
<li>Cellular radio systems
<li>Frequency reuse
<li>Handoff
<li>Near-far problem
<li>Coverage evaluation
<li>Multiple access methods FDMA, TDMA, CDMA
<li>Capacity and quality of service<p>
</ul>
<li>Current cellular standards</li>
<ul>
<li>NMTS
<li>AMPS, TACS,
<li>D-AMPS
<li>GSM
<li>TDMA, IS-136
<li>CDMA, IS-95
<li>WCDMA
</ul>
</ol></center>
</font><font color=dodgerblue>...........................................................................................................................................................</font>
</td></tr>
</table>
</body>
</html> |
Very much appreciated. |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8749 Location: Castle Pines North, CO USA
|
Posted: Fri Oct 29, 2004 9:08 am |
|
|
|
|
indent where / what? |
|
JSM
Joined: 25 Oct 2004 Posts: 15
|
Posted: Fri Oct 29, 2004 11:58 am |
|
|
|
| Basically making the code easier to read and mark. Some tags should be indented and some should remain aligned to the left. |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8749 Location: Castle Pines North, CO USA
|
Posted: Fri Oct 29, 2004 12:04 pm |
|
|
|
OK - I did not know if you meant the content, the nav, etc. Using your code & not correcting it:
| Code: |
<html>
<head>
<title>Protocols</title>
</head>
<body vlink="black" link="black" bgcolor="black">
<table border="1" align="center" width="100%">
<tr>
<td colspan="4" align="center" bgcolor="dodgerblue">
<font size="20" color="white"><a href="index.html"><b>
<br>
<img src="images/top.gif" border="0"></a></b></font>
</td>
</tr>
</color>
<tr>
<td width="25%" bgcolor="dodgerblue">
<center>
<img src="images/ad.gif" width="85" height="85" border="1" alt="AD">
</center>
</td>
<td colspan="3" bgcolor="dodgerblue"><font size="8" color="white">
<center><a href="dictionary.html">Dictionary</a> | <a href="map.html">Map</a> | <a href="signon.html">Sign-on</a>
<br>
</font></center></td>
</tr>
</font>
</center>
<tr>
<td colspan="2" valign="top" bgcolor="black">
<table border="1" width="80%" align="center">
<tr>
<td bgcolor="dodgerblue"><center><font size="5" color="white">General<hr>
<a href="index.html">Index</a><p><a href="dictionary.html">Dictionary</a></p>
<p><a href="map.html">Map</a></p>
<p><a href="signon.html">Sign-on</a></p>
<p></p>
<hr>Wireless<hr><a href="PDA.html">PDAs</a><p>
<a href="3GPhone.html">3G Phones</a></p>
<p><a href="protocols.html">Protocols</a></p>
<p></p>
</center></font></td>
</tr>
</table>
</font></td>
<td colspan="2" valign="top" bgcolor="dodgerblue"><br>
<b><font size="8"><center>PROTOCOLS</b><p></p>
</center></font><br>
<center><font size="4">
<ol>
<li>Essential principles of radio communications</li>
<ul>
<li>Electromagnetic radiation </li>
<li>Review of RF bands </li>
<li>Radio propagation principles </li>
<li>Super heterodyne receiver </li>
<li>Path loss </li>
<li>Multipath effects </li>
<li>Multipath Rayleigh fading </li>
<li>Delay spread </li>
<li>Frequency-selective fading </li>
<li>Comparison of modulation techniques </li>
<li>Types of modulators and demodulators<p></p>
</li>
</ul>
</li>
<li>Information Theory</li>
<ul>
<li>Shannon's equation </li>
<li>Why code? </li>
<li>Multitone (OFDM) Techniques </li>
<li>Coding Techniques </li>
<li>Block & Reed-Solomon coding </li>
<li>Interleaving </li>
<li>Viterbi algorithm </li>
<li>Trellis coding </li>
<li>Convolutional coding </li>
<li>Turbo coding </li>
<li>Continuous Phase Modulation, CPM<p></p>
</li>
</ul>
</li>
<li>Mobile radio systems</li>
<ul>
<li>Cellular radio systems </li>
<li>Frequency reuse </li>
<li>Handoff </li>
<li>Near-far problem </li>
<li>Coverage evaluation </li>
<li>Multiple access methods FDMA, TDMA, CDMA </li>
<li>Capacity and quality of service<p></p>
</li>
</ul>
</li>
<li>Current cellular standards</li>
<ul>
<li>NMTS </li>
<li>AMPS, TACS, </li>
<li>D-AMPS </li>
<li>GSM </li>
<li>TDMA, IS-136 </li>
<li>CDMA, IS-95 </li>
<li>WCDMA </li>
</ul>
</li>
</ol>
</center></font><font color="dodgerblue">...........................................................................................................................................................</font>
</td>
</tr>
</table>
</body>
</html> |
|
|
eXcentra
Joined: 12 May 2004 Posts: 91
|
Posted: Fri Oct 29, 2004 2:59 pm |
|
|
|
Just paste the text/open up the html file in notepad.  |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|
 |
|
|
|
|
|
|
|