Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > HTML and CSS tutorial

Reply
Thread Tools

HTML and CSS tutorial

 
 
jamslam
Guest
Posts: n/a
 
      10-30-2003
Hey,

I am looking for a few suggestions. I plan on re-writing my HTML and CSS
tutorials at my site, www.webtrickscentral.com

If you read the HTML tutorial (you can login with demo as the username and
password) you would most likely notice that I put in there a lot of
deprecated tags, such as <font>. At the time of writing, which was quite a
bit a go, I was not as smart as I was then. I used HTML for presentational
purposes back then.

My question is for you guys, is how should I re-write it? As in, should I
combine HTML and CSS into one, or leave them separate? Either way, I'm
re-writing both.

The reason I want to do HTML and CSS together, is because I feel that it
would be hard for the average inexperienced user to pick up proper coding of
HTML, with no presentational elements. However, I feel that combining CSS
into it, it would make it more enjoyable, and hopefully easier.

So what do you guys have to say? Both in one, or separate? And please do
explain

Thanks again!

-jamslam


 
Reply With Quote
 
 
 
 
Sid Ismail
Guest
Posts: n/a
 
      10-30-2003
On Wed, 29 Oct 2003 21:44:14 -0500, "jamslam"
<> wrote:

: The reason I want to do HTML and CSS together, is because I feel that it
: would be hard for the average inexperienced user to pick up proper coding of
: HTML, with no presentational elements. However, I feel that combining CSS
: into it, it would make it more enjoyable, and hopefully easier.
:
: So what do you guys have to say? Both in one, or separate? And please do
: explain


Both in on. Reason - see first paragraph above.

Sid

 
Reply With Quote
 
 
 
 
Leif K-Brooks
Guest
Posts: n/a
 
      10-30-2003
jamslam wrote:

> My question is for you guys, is how should I re-write it? As in, should I
> combine HTML and CSS into one, or leave them separate? Either way, I'm
> re-writing both.
>
> So what do you guys have to say? Both in one, or separate? And please do
> explain


I think you should introduce some basic CSS, but not anything too
advanced. Might be a good idea to show simple presentational HTML first,
and then show why CSS is so much better.

 
Reply With Quote
 
Matthias Gutfeldt
Guest
Posts: n/a
 
      10-30-2003
Sid Ismail wrote:
> On Wed, 29 Oct 2003 21:44:14 -0500, "jamslam"
> <> wrote:
>
> : The reason I want to do HTML and CSS together, is because I feel that it
> : would be hard for the average inexperienced user to pick up proper coding of
> : HTML, with no presentational elements. However, I feel that combining CSS
> : into it, it would make it more enjoyable, and hopefully easier.
> :
> : So what do you guys have to say? Both in one, or separate? And please do
> : explain
>
>
> Both in one. Reason - see first paragraph above.


I agree completely. HTML without CSS is not exactly exciting to look at,
although of course a well-structured HTML document is nice in and of itself.

Of course CSS gets very complicated very fast if you want to use it for
positioning/float etc. Therefore an introductory tutorial might focus on
other things than the visual formatting model and the box model.

On the other hand, there are a couple relatively solid, commonly used
solutions for the traditional CSS column layout, and if the reader
sticks to those solutions he shouldn't have too many nasty surprises.


Matthias

 
Reply With Quote
 
rf
Guest
Posts: n/a
 
      10-30-2003

"jamslam" <> wrote in message
news:...
> Hey,
>
> I am looking for a few suggestions. I plan on re-writing my HTML and CSS
> tutorials at my site, www.webtrickscentral.com
>
> If you read the HTML tutorial (you can login with demo as the username and
> password) you would most likely notice that I put in there a lot of
> deprecated tags, such as <font>. At the time of writing, which was quite a
> bit a go, I was not as smart as I was then. I used HTML for presentational
> purposes back then.
>
> My question is for you guys, is how should I re-write it? As in, should I
> combine HTML and CSS into one, or leave them separate? Either way, I'm
> re-writing both.


HTML and CSS must go together. Use HTML to suggest some structural layout
for a document and, at the same time, use CSS to suggest the presentational
aspects for the document. You can not separate them.

You start with an empty <style> element and an empty <body> element. You
progress from there, adding things to both elements.

Cheers
Richard.


 
Reply With Quote
 
Safalra
Guest
Posts: n/a
 
      10-30-2003
"jamslam" <> wrote in message news:<>...
> [HTML tutorial]
> My question is for you guys, is how should I re-write it? As in, should I
> combine HTML and CSS into one, or leave them separate? Either way, I'm
> re-writing both.


Well, what I'm going to do (I've started writing my own tutorial) is
to teach them HTML first and CSS afterwards, the idea being that they
learn to use the mark-up logically before they start thinking about
presentation. (However, I'd rather you didn't follow my advice, as
then I'd have a rival in the 'puristic HTML tutorial' market

--- Stephen Morley ---
http://www.safalra.com
 
Reply With Quote
 
Leif K-Brooks
Guest
Posts: n/a
 
      10-30-2003
rf wrote:

> HTML and CSS must go together. Use HTML to suggest some structural layout
> for a document and, at the same time, use CSS to suggest the presentational
> aspects for the document. You can not separate them.


Yes you can. CSS can be used for styling your own XML (and SGML, I
suppose) formats. Unstyled HTML can be used, it just wouldn't look as nice.

 
Reply With Quote
 
rf
Guest
Posts: n/a
 
      10-30-2003

"Leif K-Brooks" <> wrote in message
news:aW4ob.1271$.. .
> rf wrote:
>
> > HTML and CSS must go together. Use HTML to suggest some structural

layout
> > for a document and, at the same time, use CSS to suggest the

presentational
> > aspects for the document. You can not separate them.

>
> Yes you can. CSS can be used for styling your own XML (and SGML, I
> suppose) formats. Unstyled HTML can be used, it just wouldn't look as

nice.

We *are* talking about the real world of authoring HTML pages for the WWW
here, are we not? You know, building a "web site" that just might sell
something

Cheers
Richard.


 
Reply With Quote
 
Leif K-Brooks
Guest
Posts: n/a
 
      10-30-2003
rf wrote:

> We *are* talking about the real world of authoring HTML pages for the WWW
> here, are we not? You know, building a "web site" that just might sell
> something


CSS-styled XML might be usable for some specialized task in the real world.

 
Reply With Quote
 
jamslam
Guest
Posts: n/a
 
      10-30-2003
Alright thanks, I think I will combine the two, and either offer more
advanced CSS towards the end, or in a separate tutorial, I have yet to
decide upon that, and is the least of my worries.

Thanks for the suggestions, I just wasn't sure of the learning curve it
would obtain.

-jamslam


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Do programmers enjoy video tutorial or written tutorial ? Linuxmank Java 36 08-08-2009 09:54 AM
HTML & CSS Tutorial Site Lawrence D'Oliveiro NZ Computing 7 04-11-2009 10:59 PM
Tutorial or Example (or Tutorial) of Using Canvas to Produce a Plot W. Watson Python 13 09-20-2007 04:29 PM
confused - html validates, css validates but validate css from the html causes errors Titus A Ducksass - AKA broken-record HTML 6 11-15-2004 12:59 PM
Tutorial for beginner/ Tutorial voor beginner Rensjuh C++ 7 09-02-2004 12:41 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57