What is the difference between html and css | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 8

What is the difference between html and css

difference between html and css

26th Oct 2016, 12:14 PM
David Kariuki
David Kariuki - avatar
8 Answers
+ 10
The Difference Between CSS, HTML and PHP. .The colors, fonts and styles of this entire website are driven by CSS. HTML = Content: HyperText Markup Language (HTML) is the building-blocks of web pages. HTML allows you to put images, text, videos, forms and other pieces of content together into a cohesive webpage.
26th Oct 2016, 12:40 PM
David Kariuki
David Kariuki - avatar
+ 8
html whuch in full is hyper text markup language acts as a skeleton for the web design process. it forms the header, body and footer parts of the website but css is used toenhance the appearance of the website.
26th Oct 2016, 12:15 PM
David Kariuki
David Kariuki - avatar
+ 5
In html you provide the logical structure of a page. Say you take a newspaper, it has different articles, each with a heading and paragraphs of text. You can apply a similar structure in html. Css is used to put everything in the desired position and give your html elements the desired color, font, borders etc. In short: Html = structure CSS = presentation and layout Javascript = interactivity and behavior
26th Oct 2016, 12:36 PM
Wouter Cox
Wouter Cox - avatar
+ 3
The simple way to explain the difference between HTML and CSS is that HTML is the building blocks that build the content and structure of the webpage and CSS is what makes it look pretty and used to add different styles to the webpage.
4th Nov 2016, 10:47 PM
Paul Sweet
Paul Sweet - avatar
+ 2
HTML is the language use to structure a website, while CSS is the syntax used to beautify the website in terms of presentation such as color, font size etc. Hope I helped.
18th Nov 2016, 11:53 PM
Akinpelu David Olamide
Akinpelu David Olamide - avatar
+ 2
Html is used in web page but css used for design the html codes
19th Nov 2016, 1:24 PM
MATREX MOON
MATREX MOON - avatar
+ 2
Let's take a simple analogy with our human body : HTML is like our body which has some definite structure. JavaScript can be related to our body functions (body part movements, breathing etc...) and CSS is like the cloths and apparels we wear. (different sizes, colors, types etc... )
20th Nov 2016, 4:40 PM
Anil Krishna
Anil Krishna - avatar
+ 1
HTML will help you with your web contents while the design or how it will appear to users is with css.
4th Nov 2016, 8:44 AM
Michael Nwokoro
Michael Nwokoro - avatar