Main Difference between HTML and Css | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Main Difference between HTML and Css

27th Mar 2017, 3:20 AM
Aman Sharma
Aman Sharma - avatar
6 Answers
+ 7
HTML stands for HyperText Markup Language. It is a simple markup language used to define the structure and organization of a document in order to create documents which are portable from one environment to another. CSS stands for Cascading Style Sheet, is an HTML specification developed by the W3C that allows authors of Web pages to control the layout and visual presentation of HTML elements on the page. CSS also directs the way in which the style sheets of the HTML document and the user's style will blend.
27th Mar 2017, 4:13 AM
देवेंद्र महाजन (Devender)
देवेंद्र महाजन (Devender) - avatar
+ 3
All the answers here are correct. Just an analogy. HTML is how you build your home. CSS is interior decoration of that home. 😀
27th Mar 2017, 4:57 AM
Ashwani Kumar
Ashwani Kumar - avatar
+ 2
html is the basic internet protocols css is to allow graphics layouts to be easily used across entire websites
27th Mar 2017, 3:34 AM
Jason Hoffman
Jason Hoffman - avatar
+ 2
Hypertext Markup Language (HTML) is the standard and most basic language in use to create web pages. Cascading Style Sheets (CSS) is a style sheet language that can be applied to any XML document.
27th Mar 2017, 4:16 AM
M. PRASAD NAIK
M. PRASAD NAIK - avatar
0
HTML - You can create a complete website knowing just this, however it'll look like those 90s websites with blue links. It's there to create basic structure for a website and it's impossible (as far as I know) to make any website/webpage without using HTML. CSS - This is what makes your websites beautiful and modern looking. It's just for all the visual effects and with new version simple animation too.
27th Mar 2017, 5:36 AM
Akwin Lopez
Akwin Lopez - avatar
0
HTML Definition:You use HTML to create the actual content of the page, this means in HTML you define the basic structure and the contents of a website.Example:On the example page HTML is responsible for the text written there, and the structure (there is one header block, one navigation block and many content blocks on the bottom) CSS Definition:CSS is responsible for the Design of the Webpage, how every thing looks, and where it is on the page.Example:Here is CSS Responsible for the text being in a dark grey, the navigation being orange, the text fields having round edges, and all the other stuff that is designed specificly for the website.
27th Mar 2017, 5:37 AM
Akwin Lopez
Akwin Lopez - avatar