WOW

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

WOW

Post by s.dot »

I was teaching this chick HTML. So, as I'm going to bed.. i referred her to http://www.htmlgoodies.com to read a little bit more (i used this site to learn html back in the day).

I look at the text manipulation page/tutorial. They've updated it... okay that's fine. BUT!

http://www.htmlgoodies.com/primers/html ... hp/3478161

They're teaching beginners to use <font style="color: red; font-family: verdana;">text</font>.... !

What's wrong with teaching them the standard, old fashioned, (much easier for beginners) way of <font face="" color="" size="">

It's not like these are going to become deprecated anytime soon? They also don't show <b><u><i> or anything! It's all style="" now.

I'm sorry but i found this a bit aggrivating as i'm trying to teach a beginner, and I think the style attribute should come after basic HTML is learned.

Does anyone else find this a bit backwards? I don't think learning the style="" attribute is more important than learning the old fashioned basics!
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
SpiderMonkey
Forum Commoner
Posts: 85
Joined: Fri May 05, 2006 4:48 am

Post by SpiderMonkey »

I am with you on this one. I used some proper ancient tags sometimes (<center> anyone?) instead of style= because I find it improves readability.

Besides, if these tags stop being supported, my clients will pay me to update the site and I can blame it on Mozilla.
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

Also, i don't think a beginner should be tought CSS properties and values when learning HTML. It's like.... mixing two things. That should be learned separately.

[edit]UGH, this site seems to be teaching css with html too http://www.htmlcodetutorial.com/charact ... pp_92.html

Maybe i just find this odd because i like the old fashioned way and it's what i'm used to. But I think it's overkill for a beginner.

Anyways I'm going to hit the sack now, i'd love to see some repsonses when I wake up.
Last edited by s.dot on Tue Jun 06, 2006 6:58 am, edited 1 time in total.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

:lol: And here's me thinking the story was going to be mostly about the chick :P
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Personally I think it's a good thing if people are taught to separate the styling from the content from the very beginning. Although, rather than going overboard with the style attribute I think it would be much more useful to provide beginners with a basic stylesheet that they can adapt in order to get text and links looking how they want. I don't get why you'd want to teach deprecated stuff just because it's a little easier to start with - since you're just going to have a situation where they have to unlearn all of that and start on something new which IMHO makes things harder in the long run.

Mac
User avatar
Maugrim_The_Reaper
DevNet Master
Posts: 2704
Joined: Tue Nov 02, 2004 5:43 am
Location: Ireland

Post by Maugrim_The_Reaper »

I don't get it - what happened to the chick? Is there a follow up post on the way?
Maybe i just find this odd because i like the old fashioned way and it's what i'm used to. But I think it's overkill for a beginner.
You're old fashioned. HTML, or more rightfully perhaps, XHTML is data. <div><p>XXX</p></div> simply states that this section (div) of the document contains a paragraph (p) containing the text XXX. CSS is styling. There's a division between the purpose of each. So teaching one in isolation, and falling back on <font> tags ruins the new perception, and leads to misinformation and bad habits.

Not being insulting here, this was not a bad habit all that long ago!

Teaching HTML and CSS, and showing how each relates would seem to make a lot of sense. <p> for paragraph and contents, <p style=""> for how you want that paragraph to look...
User avatar
Oren
DevNet Resident
Posts: 1640
Joined: Fri Apr 07, 2006 5:13 am
Location: Israel

Post by Oren »

I used to think like scottayy because that's the way I learned HTML, but I don't think like this anymore. When I see a site that uses <font>, and yes - there are developers that still do it this way :?, I get mad.
So I'm with twigletmac right now.
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

I agree with the article...leave the <font> tags in the bin

P.S. i thought <b> and <i> had been replace by <strong> and <em> respectively
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Re: WOW

Post by Roja »

scottayy wrote:They're teaching beginners to use <font style="color: red; font-family: verdana;">text</font>.... !
HTML isn't for styling. Thats what CSS is for. However, they shouldn't be using the font tag at all, but a div or a span.
scottayy wrote:What's wrong with teaching them the standard, old fashioned, (much easier for beginners) way of <font face="" color="" size="">
In order of what you will likely care about:

1. Its slower (css can be cached)
2. Its harder to maintain (change a color across the entire 100-page site you've built. You have 1 minute, and can't use search/replace.)
3. The font tag is deprecated, and isn't supported in xhtml specs and strict browsers, making it hard to migrate sites using it to xhtml
scottayy wrote:It's not like these are going to become deprecated anytime soon?
Soon? Try SEVEN YEARS AGO. The font tag was deprecated in 1999!
scottayy wrote:They also don't show <b><u><i> or anything! It's all style="" now.
It depends on the context, whether thats right or not. There is a bit of confusion about the fact that most people use bold and italics tags when they really should be using strong and emphasis tags (thats not always true either!). The challenge is that its not a simple search and replace. Because it requires a human being to make a judgement call, plenty of confusion arises.

The best two articles I've read on Semantic HTML, and choosing the right tags are:
http://brainstormsandraves.com/articles ... structure/
http://www.ermanz.govt.nz/news-events/a ... chtml.html
scottayy wrote:I'm sorry but i found this a bit aggrivating as i'm trying to teach a beginner, and I think the style attribute should come after basic HTML is learned.
For me, the seperation between HTML and CSS *is* basic, and should be the very first thing taught. You start with the general concepts:

1. HTML is for content
2. CSS is for styling (presentation) that content

With those two key points, everything else makes a lot more sense.
scottayy wrote:Does anyone else find this a bit backwards? I don't think learning the style="" attribute is more important than learning the old fashioned basics!
I think you learned the old fashioned HTML (back when style was part of it), but now want to pass your knowledge on, only to find that the rules have changed - which means you can't teach it exactly the way you learned it.

Remember, the way you learned it ISN'T the best way to teach it, because you've since learned quite a bit. You've learned the value of HTML valid code, seperating CSS from HTML, good structure, and more. All of those things are advantages, so add them into what you are teaching, so your student will be BETTER than you were after learning "the basics", back in the day.

Teachers should strive not to duplicate the teaching they received, but to better it.
User avatar
daedalus__
DevNet Resident
Posts: 1925
Joined: Thu Feb 09, 2006 4:52 pm

Post by daedalus__ »

/agree
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

Two questions:

1. Why would you add style="" to a <font> tag? Styling should go on an actual container, not a deprecated formatting tag. Would you do <b style="font-weight: normal;"> ?

2. What about the chick? I mean, what kind of a story is: "I was teaching this chick HTML. So, as I'm going to bed.. i referred her to http://www.htmlgoodies.com to read a little bit more . . . "?!? Did you pick her up with the line, "Hey baby, wanna learn some HTML ..."?


PS - I agree with those that think you should teach the CSS way to do things.
(#10850)
User avatar
Nathaniel
Forum Contributor
Posts: 396
Joined: Wed Aug 31, 2005 5:58 pm
Location: Arkansas, USA

Post by Nathaniel »

WOW guys, why is scottayy having a social life such a big deal? :D
User avatar
AKA Panama Jack
Forum Regular
Posts: 878
Joined: Mon Nov 14, 2005 4:21 pm

Post by AKA Panama Jack »

Nathaniel wrote:WOW guys, why is scottayy having a social life such a big deal? :D
Because it is a foreign concept to them. :twisted:
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

arborint wrote:Did you pick her up with the line, "Hey baby, wanna learn some HTML ..."?
Someone I know was picked up last year by a (less fortunate) chick with the line "do you wanna watch black adder?" He thought it to be a perfectly innocent and generous request until he got back :P
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

d11wtq wrote:Someone I know was picked up last year by a (less fortunate) chick with the line "do you wanna watch black adder?" He thought it to be a perfectly innocent and generous request until he got back :P
Sounds like it was a Cunning Plan ...
(#10850)
Post Reply