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.
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
CSS V/s HTML
#2
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:
CSS:
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;}
#3
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
HTML is content & the tags used to select it
CSS is used to style & layout the content
#4
Posted 29 May 2011 - 08:26 AM
CSS is a style sheet language, while HTML is a mark-up language..
#5
Posted 10 June 2011 - 07:10 AM
#6
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).
#7
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
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
Share this topic:
Page 1 of 1


Help
MultiQuote











