Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Css Or Html Tags


28 replies to this topic

#1 solankyno1

    Super Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 315 posts
  • Location:India
  • Interests:Computers, Internet

Posted 16 October 2004 - 04:21 PM

Dear friends,
I am new to web site designing. I am using NVU for creating my web pages. It has a option in which we can select that the editor will use CSS or it will use html tags for coding of the page. For example - If I want to make the text bold then if tag is used the code will be

Quote

<b>Your text</b>
and if the CSS is used the text will be

Quote

<span style="font-weight: bold;">Your text</span>
.
Please suggest me which option I should choose to make my web page standard to modern HTML standards.
Thanks in advance.

#2 biscuitrat

    Kween of Everything :)

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPip
  • 1,052 posts
  • Gender:Female
  • Location:Houston, Tejas :D
  • Interests:To start off with, I'm a 16 year old feminazi (Noooo, I just mean I'm a firm believer in feminism and all that. No evil stuff T_T). I love to write, I play piano, trombone, sing, and I adore animals. Well, except flying insects, but that's natural, isn't it?<br /><br />I love my games and internet. Basically:<br />-Anything made by Blizzard<br /> -World of Warcraft<br /> - Isadia (60 rogue) Alleria<br /> - Grumbleboo (39 priest) Alleria<br /> - Hadoken (16 druid) Alleria (horde)<br />-Most FPS games<br />-I &lt;3 Nintendo<br />-And I love online games, especially Battlenet.<br /><br />Current Hidey-Hole: Houston, Texas, U.S.A.

Posted 16 October 2004 - 04:34 PM

Well...CSS isn't meant to stand alone. It's supposed to supplement HTML. I generally use the <b></b>...

#3 dontmaimyourself

    Lord of the last day

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 526 posts
  • Location:England

Posted 16 October 2004 - 07:38 PM

That depends on if you only want to change the font, if this is the case use HTML, but if you are planning a site with a large nuber of pages CSS will make formating easier, by using an external style sheet and linking to it from your pages you can instantly transform large numbers of pages by only changing one thing.

I hope this has helped you.

#4 solankyno1

    Super Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 315 posts
  • Location:India
  • Interests:Computers, Internet

Posted 18 October 2004 - 07:17 AM

Quote

That depends on if you only want to change the font, if this is the case use HTML, but if you are planning a site with a large nuber of pages CSS will make formating easier, by using an external style sheet and linking to it from your pages you can instantly transform large numbers of pages by only changing one thing.

I hope this has helped you.

Quote

Well...CSS isn't meant to stand alone. It's supposed to supplement HTML. I generally use the <b></b>...

Thanks for the help. Now I think I have to maintain proper balance in HTML tags and CSS.

#5 alapidus

    Member [Level 1]

  • Kontributors
  • PipPipPipPip
  • 74 posts
  • Location:Connecticut
  • Interests:sports, video games, computers, tv...

Posted 21 October 2004 - 11:03 PM

i've always only used css for doing stuff that are not normally done with regular html. like i wouldn't use it for doing font colors, but i would use it if i wanted to change the background color of the text. i find its best use is to do stuff that html simply can't do.

#6 Vacant

    Advanced Member

  • Kontributors
  • PipPipPipPipPipPipPip
  • 117 posts
  • Location:England, UK

Posted 26 October 2004 - 08:52 AM

I use CSS for everything it is possible to use it for! I can't see why anyone WOULDNT want to use it on their site. Cascading Style Sheets were introduced to provide cleaner, shorter coding and that is exactly what it does... Some people say its not "backwards compatible", but I mean, at the end of the day if you use an outdated browser its your fault really, isn't it?

#7 katif

    Advanced Member

  • Kontributors
  • PipPipPipPipPipPipPip
  • 140 posts

Posted 26 October 2004 - 03:51 PM

I use mostly css, it's easier, u don't have to edit all pages you have when u want a new design, just edit the stylesheet..

#8 Taupe

    Advanced Member

  • Kontributors
  • PipPipPipPipPipPipPip
  • 119 posts

Posted 26 October 2004 - 05:19 PM

You have to choose the CSS solution.
All presentation must be done by CSS.
Bold is only presentation, so it must be realised by CSS.

(X)HTML is only for semantic. For example you can specify that your text is important puting it between <strong> tags. That would be much more interesting than using bold, because a text client and an oral client will ignore the bold, but not the strong (for example, the oral will insist on this text...)

#9 solankyno1

    Super Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 315 posts
  • Location:India
  • Interests:Computers, Internet

Posted 26 October 2004 - 05:24 PM

Taupe, on Oct 26 2004, 10:49 PM, said:

You have to choose the CSS solution.
All presentation must be done by CSS.
Bold is only presentation, so it must be realised by CSS.

(X)HTML is only for semantic. For example you can specify that your text is important puting it between <strong> tags. That would be much more interesting than using bold, because a text client and an oral client will ignore the bold, but not the strong (for example, the oral will insist on this text...)
Now I am also agree to your view. I have now starting to learn CSS for using it in my website.

#10 Becca

    Princess

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPip
  • 1,234 posts
  • Gender:Female
  • Location:England
  • Interests:Into graphics, html/css, sports and music. I listen to metal, hard rock, r&amp;b mainly but I like anything.

Posted 28 October 2004 - 11:48 AM

CSS is probably better...But sometimes when you want like a E.G dfferent colour bol you can not get it, it sort of has a set color,size,font fmaily etc.....
But I personally use a css code for everything because it is really good and really does make your page look 10x better.

I learnt about CSS and HTML together so I have been using it as much as and as long as
using HTML.




Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users