Help needed to learn html

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
matthijs
DevNet Master
Posts: 3360
Joined: Thu Oct 06, 2005 3:57 pm

Help needed to learn html

Post by matthijs »

Hi,
I thought I knew my way in (x)html/css land, but now i'm lost. Need to do some maintainance on a site for a new client. Can someone help me out. What does this mean?

Code: Select all

<tr bgcolor="#FFFFFF">
<td><font face="Arial, Helvetica, sans-serif" size="2" color="#203d8d"> <font size="1" color="#000000"><b>
<font color="#990099" size="3" face="Arial, Helvetica, sans-serif"> <font face="Arial, Helvetica, sans-serif" size="2" color="#203d8d"> <font size="1" color="#000000"><b> <font color="#990099" size="3" face="Arial, Helvetica, sans-serif"><font face="Arial, Helvetica, sans-serif" size="2" color="#203d8d"><b> </b><font size="1" color="#000000"><b> <font color="#990099" size="3" face="Arial, Helvetica, sans-serif"> <font face="Arial, Helvetica, sans-serif" size="2" color="#203d8d"><font size="1" color="#000000"><b> <font color="#990099" size="3" face="Arial, Helvetica, sans-serif"> <font face="Arial, Helvetica, sans-serif" size="2" color="#203d8d"> <font size="1" color="#000000"><b><font color="#990099" size="3" face="Arial, Helvetica, sans-serif"> <font face="Arial, Helvetica, sans-serif" size="2" color="#203d8d"><font size="1" color="#000000"><b> <font color="#990099" size="3" face="Arial, Helvetica, sans-serif"><font face="Arial, Helvetica, sans-serif" size="2" color="#203d8d"> <font size="1" color="#000000"> <b><font color="#990099" size="3" face="Arial, Helvetica, sans-serif"> <font face="Arial, Helvetica, sans-serif" size="2" color="#203d8d"><font size="1" color="#000000"><b> <font color="#990099" size="3" face="Arial, Helvetica, sans-serif"><font face="Arial, Helvetica, sans-serif" size="2" color="#203d8d"> <font size="1" color="#000000"><b><font color="#990099" size="3" face="Arial, Helvetica, sans-serif"> <font face="Arial, Helvetica, sans-serif" size="2" color="#203d8d"><b><br>
<?php include ("banner.txt"); ?>                      </b></font></font></b></font></font></font></b></font></font></font></b></font> </font></font></b></font></font></font></b> </font></font></font></b></font></font></font></b></font></font></font></b></font></font> </font></b></font></font><font face="Arial, Helvetica, sans-serif" size="2" color="#203d8d"> <font size="1" color="#000000"><b><font color="#990099" size="3" face="Arial, Helvetica, sans-serif"> <font face="Arial, Helvetica, sans-serif" size="2" color="#203d8d"><font size="1" color="#000000"><b> <font color="#990099" size="3" face="Arial, Helvetica, sans-serif"><font face="Arial, Helvetica, sans-serif" size="2" color="#203d8d"> </font></font></b> </font></font></font></b></font></font></td>
</tr>
I didn't make this up 8O

[edit: sorry if it wasn't clear, this was meant ironically... that's why i posted in general chat]
Last edited by matthijs on Sun Feb 12, 2006 2:27 pm, edited 1 time in total.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

what does what mean? Most of that code changes the font displayed, its color, or whether or not it is bold.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

I think it means you shouldn't use Microsoft Frontpage :D
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

In case you were serious, you can reduce it to this...

Code: Select all

<tr bgcolor="#FFFFFF">
<td><b><br  /><?php include ("banner.txt"); ?></b></td>
</tr>
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

To fix it, break it down into a structured heirarchy so you can visually see what's being done element by element. (Each element gets a line by itself, children are indented, etc. After you can see it in a structure, you can remove redundancies. Once that is done, convert the font tags to either spans or some other more compliant form.
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: Help needed to learn html

Post by josh »

matthijs wrote:[edit: sorry if it wasn't clear, this was meant ironically... that's why i posted in general chat]
HAHAHA I was like wha....

If that wasn't created by an editor whoever wrote that needs some serious help!! :lol: :lol:
matthijs
DevNet Master
Posts: 3360
Joined: Thu Oct 06, 2005 3:57 pm

Post by matthijs »

Just wait till I'm finished cleaning that up. Then I'll need some serious help :) or at least a loooong break away from my monitor ....

(p.s. sorry for the confusion guys)
Post Reply