Looking for a specific HTML shortcut?

Kenney Merlo

New member
I was looking around last weekend for ways to save time in my coding. I found a strategy that I cannot seem to locate again. I know what the strategy was, just not the specifics or the name. WOuld be helpful, I know. Lol.

It dealt with the problem of constantly having to retype the entire font code for each sentence after changing the code for the one above it. Instead, it let you type a couple preset codes, and reference them for different sentences without having to type the entire font codes for each sentence. Let em show you what I mean.

Instead of typing something like:
<font color =blue face="Comic Sans MS" size="+1">Hello there.</font>

Then this:
<font color =red face="Times New Roman" size="-1">Hi. How are you?</font>

THEN having to retype (or copy paste):
<font color =blue face="Comic Sans MS" size="+1">I'm good.</font>

I read you could put something like:
<a1 font color=blue face="Comic Sans MS" size=+1"></font>
..... And then reference the "a1" in other sentences.

Isn't there a way to do something like this? Sure, I can keep copy-pasting every time but I have a high variance of color and styles in what I do. It's getting tiresome.

Any help would be appreciated.
 
Back
Top