Jump to content

CSS V/s HTML

Whether you're a seasoned veteran or a struggling beginner, Web Radiance is the web development and web design forum for you. You'll find answers to all your HTML, CSS, SEO, and Programming needs. Pull up a chair and stay awhile.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

CSS V/s HTML Rate Topic: -----

#1 User is offline   Sara 

  • W.R. Private
  • Group: Members
  • Posts: 3
  • Joined: 29-December 08

Posted 29 December 2008 - 05:47 AM

Hello,
Tell me Difference between the CSS and HTML. If there is any similarity then please tell me. I'm waiting for your reply.

Thanks In Advance.
0

#2 User is offline   marcamos 

  • W.R. General
  • Group: Administrators
  • Posts: 2,849
  • Joined: 04-April 06
  • Gender:Male
  • Location:Massachusetts - USA

Posted 29 December 2008 - 10:20 AM

HTML is the language used to mark-up content and layout on websites. CSS is the language used to make that content and layout look good. For example:
HTML:
<h1>About our company</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam ultricies urna at diam. Vivamus arcu metus, suscipit vitae, malesuada vel, malesuada a, lorem. <a href="someplace.html">Curabitur imperdiet pharetra ante</a>.</p>
<p>Duis aliquam massa nec nisi. Quisque at odio eu erat mollis sodales. Nulla pulvinar porta purus. Vivamus ligula tellus, sollicitudin nec, tristique ac, dapibus a, elit. Maecenas mollis pharetra nunc. Proin elementum. In ut tortor. Morbi metus metus, lobortis et, eleifend non, aliquam non, velit. Pellentesque erat. Donec dignissim ligula a magna. Maecenas ligula. Vivamus et nisl. Integer tempor aliquet ante. Maecenas eros felis, aliquet ut, hendrerit in, dapibus a, nisi. Donec sagittis tellus vel urna.</p>

CSS:
h1 {font-size:2em; color:red; margin-bottom:1em; font-family:georgia, serif;}
p {color:brown; margin-top: .5em; margin-bottom:.5em; font-family:arial, sans-serif;}
p a {text-decoration:underline; color:blue;}

0

#3 User is offline   adamblan 

  • W.R. Private
  • Group: Members
  • Posts: 32
  • Joined: 01-August 08
  • Gender:Male
  • Location:Lake Tahoe, CA/NV

Posted 29 December 2008 - 07:26 PM

^ Marc's dead on-
HTML is content & the tags used to select it
CSS is used to style & layout the content
0

#4 User is offline   EncoderDecoder 

  • W.R. Sergeant
  • Group: Members
  • Posts: 260
  • Joined: 01-March 11
  • Gender:Female
  • Location:Philippines

Posted 29 May 2011 - 08:26 AM

CSS is a style sheet language, while HTML is a mark-up language..
0

#5 User is offline   Josh 

  • W.R. Private
  • Group: Members
  • Posts: 3
  • Joined: 10-June 11

Posted 10 June 2011 - 07:10 AM

View PostSara, on 29 December 2008 - 05:47 AM, said:

Hello,
Tell me Difference between the CSS and HTML. If there is any similarity then please tell me. I'm waiting for your reply.

Thanks In Advance.

0

#6 User is offline   Josh 

  • W.R. Private
  • Group: Members
  • Posts: 3
  • Joined: 10-June 11

Posted 10 June 2011 - 07:13 AM

In Html you code and Css you given style, alignment mean without Css Html is blind if you see every style and color you given to your page from Css which abbreviate ( Cascading Style Sheet).
0

#7 User is offline   gulfesolutions 

  • W.R. Private
  • Group: Members
  • Posts: 16
  • Joined: 01-June 11

Posted 29 June 2011 - 06:50 PM

I feel there is no comparison between HTML and CSS.
HTML enables you to have a webpage into your browser regardless how does it look like but CSS makes it beautiful, rest there is not such comparison of both languages :)
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users