Jump to content
Science Forums

Recommended Posts

first of all...Welcome :hihi:

 

CSS is known as Cascading Style Sheets.

It was developed to give designers more power to design their pages written in HTML, XHTML..etc.

 

CSS is a more powerful tool for designing, you can say it is a better version of HTML. SO atleast i can't point out the differences.

 

 

You can find some info here

 

 

 

if you are looking for tutorials, there may be plenty on the web.

 

Just to remind you that i'm a biology student..and dont know much of this :)

THX

TBA

Link to comment
Share on other sites

Style sheets are used with many formatting languages, HTML is only one of them. In XHTML it is common to use CSS also for layout purposes (aka "table-less design) - you can see an example here:

 

News - Hypography - Science for everyone

 

Our forums use table-based HTML and CSS.

 

This site is very good when it comes to coding, tutorials etc:

SitePoint : New Articles, Fresh Thinking for Web Developers and Designers

Link to comment
Share on other sites

I need help on this matters your reply on my post is well appreciated.Thank you !!!

Please answer it one by one.

What is css and its advantage ?

Its advantage is as a defined (but flexable) structure base for web page design.

What is the difference between html and css ?

html tags have assigned meaning in your browser. CSS can add multiple features to each typical html tag (and more).

 

example:

The Heading tag in html does one thing only, say H2. What css does is allow you to name H2 tag and assign it various meanings. So you can have one H2 tag named one and have H2 class="one" display as Blue in Georgia Font as All Upper Case Letters spaced 3 pixels apart and Underlined with a dashed line 2 pixels wide.

 

Everyplace you use the H2 class="one" on your webpage will look like that.

 

So you can have many H2 tags with different class names displaying the text (content) different ways on you web site.

 

CSS is also used to divide web pages up into sections. The top can be one named section (header) with various features defined. Each side (sidebar navigations or sidebar info) can be a named section, and the middle can be divided into sections. CSS will allow you to use Bigger Fonts on the top section and smaller fonts on the sides with normal sized text in the middle sections. And colors can be defined for each of these areas (boxes). So you can divide up the BODY of an html document into several (or many) boxes for content.

 

Thats what they mean by presentation and content.

 

Hope that helps some.

Link to comment
Share on other sites

What is css and its advantage ?

CSS is, as it's been said, cascading style sheet, but more humanly, its a language that defines styles in a document, of various document elements. There's nothing else that quite does what CSS does, so i don't know what you'd compare it to. There are advantages to using it, but i dont know exactly what you are asking.

What is the difference between html and css ?

what is the difference between birds and air.... they are two different things...

What does presentation and content means ?

presentation - a manner or style of speaking, instructing, or putting oneself... in computer terms, visual means by which the content is shown

content - something that is to be expressed through some medium, as speech, writing, or any of various arts

Can css can be used as a substitute for html ?

no

 

here is where TBA is wrong, CSS is not derived from HTML, CSS is a way to style the content, its a different way to style content, and it has quite a lot of features that HTML did not present, remember, HTML is merely a text markup language, you can bold text, create tables, create links and such. where as CSS is more about the styling of what is being shown by html, CSS just defines the style, it defines it in a much more readable way and a much more managed form, thus making it a lot simpler to style the content, place images, overlay things etc...

 

Tormod is correct, style sheets are used in many mark up languages, languages such as latex and such they dont always use CSS, but certainly some type of style sheets :lol:

 

CSS is also used to divide web pages up into sections.

div is an html tag :doh:

 

but yes, it does allow you to style different sections differently, css can call up div's and style them differently, also you can have div's within div's that can enhance the style, building it up.... hence why css are cascading....

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...