Welcome to the Mote!  

HTML Practice

Host: wabbit

Are you a newbie?
Get an attitude.

Jump right in!

Mote Members: Log in Home
Post

Go to first message Go back 20 messages Messages 1248 - 1267 out of 2771 Go forward 20 messages Go to most recent message
1248. dusty - 2/20/2000 2:21:35 PM

Fraaankster

Yes, I closed one open tag, but it wasn't fixed.

1249. dusty - 2/20/2000 2:30:49 PM

I think it was in Message # 1208
You had the tags changing color, but only one closing tag.

here's my guess:
You changed the font color to red, then blue, then red again, and you though you needed a single < /font> tag to clear them all out. But this close tag only closed the last color change, and left in the other two color changes.

(You tried a lot of things, and I did't make absolutely sure to match all tags, but I think this is what happened.)

You generally need a close tag for each open tag. As you can see from your experiments, you can use a < font> command to do a number of things, and it only takes one < /font> to turn it off, but if you use more than one < font> tag, even if some of them seem to "undo" each other, you still need a close tag for each one.

But the use of HTML can be very useful, so please do not feel apprehensive.

Test here.
That's what the thread is for.

And if I make comments, they are intended to be constructive, not critical.

1250. Fraaankster - 2/20/2000 2:31:03 PM

Dusty,

A mighty big Oops for doing that, Dusty, and thank you for closing it.I'm learning all the time.

By the way, would I have to type out the whole tag if for example I wanted to color each letter of your handle ( Dusty ), or is there a short cut ?

1251. Fraaankster - 2/20/2000 2:34:26 PM

Thanks, Dusty! I am taking no umbrage for your help. I take it as constructive and I certainly appreciate it! :-)

1252. dusty - 2/20/2000 3:02:03 PM

I don't know a shortcut. I saw someone do something like that, but I think it was some sort of java scrip. I'll look around to see if I see it again, and let you know.

1253. Fraaankster - 2/21/2000 12:22:02 AM

Dusty,

Thanks for all your assistance so far. I'll keep checking back to see if you came up with anything. In the meantime, I think I'll refrain from experimenting with HTML...I don't want to cause anymore "accidents".




Whoops, gotta go, bye !

1254. FXMuckermind - 2/22/2000 6:17:39 AM

I wonder how long it will be before anyone catches on?
Test
OK no I don't really. I don't care at all.
T E S T
I don't think they even realize how moronic they are

1255. dusty - 2/22/2000 10:48:31 AM

FXMuckermind
Why do you think people don't catch on? We use that for many things, especially in the Quiz thread
Shall I grade your test?

C-

1256. CalGal - 2/22/2000 10:54:58 AM

Dusty,

I found the code that was used to do the colors stuff, but I don't have time to play with it. Do you want it?

1257. dusty - 2/22/2000 11:07:54 AM

Sorry, I don't understand the question.

1258. dusty - 2/22/2000 11:08:22 AM

Oh wait, are you talking multiple colors in a single line?

1259. dusty - 2/22/2000 11:08:44 AM

If so, yes

1260. CalGal - 2/22/2000 11:10:24 AM

See, why do I have to work on my clarity if everyone can just figure out what I mean?

Coming right up.

1261. CalGal - 2/22/2000 11:15:40 AM

As I said, I have no idea how it works. Someone just sent it to me and it needs tweaking. #include < stdio.h > #include < iostream.h > void main() { /* totally idiot program to do Hofstadter's font-twiddling in a small way in HTML; * read in text, re-emit each character wrapped in its own font tag W/size and color changing * continuously. * TODO: vary the initial values with each run; change color values by smaller increments. */ char ch; int i=6, r = 1, b = 3, g = 5, sdown=1, rdown = 0, bdown = 0, gdown = 1; char * colors[6] = {"00", "33", "66", "99", "cc", "ff"}; cout << "
"; /* Read in single line from "stdin": */ while((ch = getchar()) != EOF) { if ( ch == '<') { cout << ch; ch = getchar(); do{ cout << ch; ch = getchar(); } while (ch != '>' && ch != EOF); if ( ch == '>') cout << ch; } else { cout << "" << ch << ""; if ( i == 1) sdown = 0; if (i == 6) sdown = 1; if ( r == 0) rdown = 0; if (r == 5) rdown = 1; if (b == 1) bdown = 0; if (b == 5) bdown = 1; g = (g + 2 )%5; } } cout << "
"; }

1262. FXMuckermind - 2/22/2000 2:58:29 PM

I DIDN'T SEE ANYTHING BUT A BLACK BOX



1263. CalGal - 2/22/2000 3:23:55 PM

Me neither, quite frankly. Someone just sent me the code and I passed it on for Dusty to play with.

1264. FXMuckermind - 2/23/2000 12:50:03 AM

Dusty,I'm not talking about the white font.

I would never think of grading you.Like I said, woner if you will EVER get it.
You missed the point.
But thats OK

1265. LadyJane - 2/23/2000 1:21:19 AM

Font Colorizer Program

This is the program that will colorize your text.

1266. PsychProf - 2/23/2000 1:56:55 AM

LadyJane...thanks much...

1267. Cazart - 2/23/2000 2:12:12 AM


Hello Marty McSorley.

Goodbye Marty McSorley.

Go to first message Go back 20 messages Messages 1248 - 1267 out of 2771 Go forward 20 messages Go to most recent message
Home
Back to the Top
Posts/page

HTML Practice

You can't post until you register. Come on, you'll never regret it. Join up!