Infographic: What’s the Difference Between HTML and CSS?
You may have heard the terms “HTML”, “CSS” or “Website Design.” But you might be curious about how they differ. Although they are both essential for building a website, each serves a unique purpose.
What is the difference between HTML & CSS?
HTML (Hypertext markup language) is used to create the content of the page. CSS (Cascade Styling Sheets), however, is responsible for the design of the website’s style or layout, including the background color, visual effects, and background color.
HTML vs. CSS Differences
“HTML” is a markup language that can be used to describe web pages (web documents). – w3schools
Tim Berners-Lee created the Web in 1989 using HTML as its publishing language. HTML (Hyper Text Markup Language), was created to allow programmers to describe the content of a website such as. HTML tags allow you to add paragraphs, headings, pictures, bullets, and other elements of structure. HTML allows you to write on a website just like you would on a word document. (Wiki, w3schools)
“CSS” describes how HTML elements should be displayed on screen or paper. – w3schools
Hakom Lie was the first to propose CSS and Bert Bos co-created it around 1996. CSS (Cascading Style sheets) was created to complement HTML. It is what makes a website look great. CSS has made web development easier by its ability to improve presentation and ease of use. It’s more about changing the style of a website than its content. It’s similar to changing the font size, color, and position in a word document. CSS controls how content appears on a page. It also determines what other content is included to complement it. (Wiki, w3schools)
For a deeper understanding of each, check out the infographic below!