Re: My favorite HTML font style tag is...
by jeffa (Bishop) on Aug 18, 2003 at 20:24 UTC
|
TacoVendor beat me to the <blink> joke, so
i'll have to be serious. I voted for
<tt>, because until
i started hanging out at the Monastery, i never used this
tag. I like to use it in my posts to markup CPAN modules,
subroutines, methods, and variables, as long as i don't have to use the [ or < symbols (which require escaping or
'inline' <code> tags). Here is an example.
That's why i like [cpan://Time::Piece]. Not only is it a
drop-in replacement for <tt>localtime</tt> and
<tt>gmtime</tt>, <tt>Time::Piece</tt> also ...
Pesonally, i think the extra typing is worth it, but some
might claim it's not being lazy. ;)
jeffa
L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)
| [reply] [d/l] |
|
I'm a nitpicker. I admit it. Since you're using <tt> to show emphasis, you should really use <EM> </EM> and then use your stylesheet to make your EM equivalent to teletype.
- Erik
---------------------------------------------------------------------------
Promoting web standards since 3 PM today.
| [reply] |
|
<p>this is <i>italic</i></p>
<p>this is <em>emphasis</em></p>
<p>this is <tt>teletype</tt></p>
and viewed it with lynx, which
'rendered' the <i> and
<em> tags, but not the <tt> tag. If
this is what you were referring to, then yes, i should
switch. But i probably won't. ;)
jeffa
L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)
| [reply] [d/l] |
|
Re: My favorite HTML font style tag is...
by TacoVendor (Pilgrim) on Aug 18, 2003 at 19:11 UTC
|
| [reply] |
|
Netscape hethen! <marque> for ever!
---- I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer
Note: All code is untested, unless otherwise stated
| [reply] [d/l] |
|
Oh, yeah, I loved <marque>. Tags that gave you government sanction to go out and capture other people's web pages and hold them for ransom? Can't beat it...
Oh wait, yes you can. :-\
If God had meant us to fly, he would *never* have given us the railroads. --Michael Flanders
| [reply] |
|
| [reply] |
|
|
| [reply] |
|
<blink> is my favorite tag for exactly those reasons :)
-silent11
| [reply] |
Re: My favorite HTML font style tag is...
by Cine (Friar) on Aug 18, 2003 at 18:35 UTC
|
| [reply] [d/l] |
|
| [reply] |
|
| [reply] |
|
Don't ruin a good joke with such feeble things as facts ;)
T
I
M
T
O
W
T
D
I
| [reply] [d/l] |
|
span is just like <div style=display:inline>. A quite useless tag that many HTML designers don't even know existed.
| [reply] |
|
Not useless. (caveat untested code) Say you have a css:
Warning.*{
color=#YELLOW
}
and you code in your html
print "<SPAN CLASS="WARNING">"My warning</SPAN>";
all over the place, and then your phb says "make the warning section have a blue backround", all you have to do is update your css and then with no code change to current code base and a simple one line update to the css you're done! | [reply] [d/l] [select] |
|
Re: My favorite HTML font style tag is...
by Plato (Friar) on Aug 19, 2003 at 09:10 UTC
|
I personally like the‹SUP› and ‹SUB› tags. Pity they weren't included also.
PLATO | [reply] |
Re: My favorite HTML font style tag is...
by Courage (Parson) on Aug 19, 2003 at 07:14 UTC
|
| [reply] [d/l] |
Re: My favorite HTML font style tag is...
by Joost (Canon) on Aug 19, 2003 at 11:44 UTC
|
Hate all of them. <em> <cite> <del> <code> <strong> <h1> etc are so much better. Maybe sometimes I'd use <div> and <span> but I try to avoid it.
Joost.
--
#!/usr/bin/perl -w
use strict;$;=
";Jtunsitr pa;ngo;t1h\$e;r. )p.e(r;ls ;h;a;c.k^e;rs
";$_=$;;do{$..=chop}while(chop);$_=$;;eval$.;
| [reply] [d/l] [select] |
|
<div> is widely used for the CSS box layout. The alternative is to devolve into nested tables. Sure, for simple text markup, <div> isn't used much, but its becoming invaluable for designers (and will become more so when/if IE ever fixes its CSS support).
---- I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer
Note: All code is untested, unless otherwise stated
| [reply] [d/l] [select] |
|
<p>
<span class="bold">Some header</span><br>
Some paragraph.
</p>
Is much better written:
<h3>Some header</h3>
<p>
Some paragraph.
</p>
- Don't laugh too hard at the above example, I've seen plenty of this in real sites made by supposedly professional companies.
Joost.
--
#!/usr/bin/perl -w
use strict;$;=
";Jtunsitr pa;ngo;t1h\$e;r. )p.e(r;ls ;h;a;c.k^e;rs
";$_=$;;do{$..=chop}while(chop);$_=$;;eval$.;
| [reply] [d/l] [select] |
|
|
|
|
Re: My favorite HTML font style tag is...
by blaze (Friar) on Aug 19, 2003 at 00:57 UTC
|
I like the sarcasm that italics can imply...if used correctly
-Robert
Hopefully there will be a witty sig here at some point
| [reply] |
Re: My favorite HTML font style tag is...
by mattriff (Chaplain) on Aug 19, 2003 at 15:35 UTC
|
I voted for <font> for two reasons:
- I don't care for serif fonts, and I can use it to
specify sans-serif ones.
- I know <font> is considered "bad," but my knowledge of HTML is only current up until the
time I got out of school and got my "real job"
programming. :)
Well, that's not entirely true. I have learned just enough
CSS to rip off, er, borrow some from other people's pages.
I remember the first time I saw a
page that changed the
default font. It took me 15 minutes to read the source and
rush to update all my pages.
- Matt Riffle
Sr. Systems Programmer, pair Networks, Inc.
(although, I speak only for myself; code is untested unless otherwise stated) | [reply] |
Re: My favorite HTML font style tag is...
by talexb (Chancellor) on Aug 19, 2003 at 15:04 UTC
|
I didn't vote -- my favourite tag wasn't on the list. I guess span comes the closest.
My favourite is the <p> tag, along with its brother, </p>. Using the two together means I'm XML compliant and balanced. That's important for an ex-C programmer .. since many of us are unbalanced.
--t. alex
Life is short: get busy!
| [reply] [d/l] [select] |
Re: My favorite HTML font style tag is...
by vili (Monk) on Aug 19, 2003 at 17:42 UTC
|
I must say I am partial to <head> despite not being a font style tag, although >b< is nice too, as it makes things stand out rather well
vili is addicted to sniffing 802.11
| [reply] |
|
I must say I am partial to <head>
Who isn't?
| [reply] |
Re: My favorite HTML font style tag is...
by cLive ;-) (Prior) on Aug 19, 2003 at 20:04 UTC
|
Hmmm, this poll's about as relevant as asking what my favorite air molecule is. And, <font> isn't even html!
All of those tags can be changed through CSS (and should be, to suit your document).
What is the question? What is your favorite structural markup? What is your favorite display markup?
I like <p> because it structurally defines a paragraph? I like <i> because it suggests displaying in italics?
<b style="font-weight: normal; font-style: italic">This is bold</b>
<i style="font-weight: bold; font-style: normal;">This is italic</i>
.02
cLive ;-)
Update: ty ChemBoy - Ok, it's valid, but deprecated and not recommended :)
Update 2: since my other reply is nested deeply, let me link to CSS Zen Garden here too. | [reply] [d/l] |
|
And, <font> isn't even html! oh?
If God had meant us to fly, he would *never* have given us the railroads. --Michael Flanders
| [reply] |
Re: My favorite HTML font style tag is...
by neilwatson (Priest) on Aug 20, 2003 at 23:39 UTC
|
Die <font> die!
Sorry, had flashback of cleaning up someone's Frontpage code.
Neil Watson
watson-wilson.ca | [reply] |
Re: My favorite HTML font style tag is...
by Mago (Parson) on Aug 19, 2003 at 13:32 UTC
|
| [reply] |
Re: My favorite HTML font style tag is...
by sauoq (Abbot) on Aug 21, 2003 at 21:09 UTC
|
-sauoq
"My two cents aren't worth a dime.";
| [reply] |
Re: My favorite HTML font style tag is...
by synistar (Pilgrim) on Aug 22, 2003 at 13:15 UTC
|
Actually CSS should have been included as an option. Since any type of presentational HTML should be avoided if possible. Centralize all of your styling in your CSS files and you have one place to change the look of your site. Decided that h2 headers on your site should be white with a blue background? Change one line of CSS to update your whole site.
Check this page for examples of applying lots of different style sheets to the same page:
http://www.csszengarden.com/
| [reply] |
<div> for style
by jonadab (Parson) on Aug 22, 2003 at 18:50 UTC
|
I normally use <div>, but I voted
<span>, which basically amounts to
the same thing. The only other style tags I use
with any regularity are <em>,
<strong>, and <cite>.
Of these, <strong> is the one I
use most by far -- but not nearly as much as
<div>. I do sometimes apply styles
to other tags (<p> and <td>
come to mind), but in those cases I'm not including
the tag for the purpose of applying
style (unless you count semantic things like
paragraphitude as style, which I don't), so I don't
think those count as style tags.
$;=sub{$/};@;=map{my($a,$b)=($_,$;);$;=sub{$a.$b->()}}
split//,".rekcah lreP rehtona tsuJ";$\=$ ;->();print$/
| [reply] [d/l] [select] |
Re: My favorite HTML font style tag is...
by porqui (Acolyte) on Aug 25, 2003 at 21:28 UTC
|
because I have a thing for <span>ish ladies | [reply] [d/l] |