The use of CSS with or without HTML

Famobio Victoria
2 min readJun 15, 2021

--

As a new programmer and a Front-end developer, I have always been curious of the uses of CSS in web development. And I must say new-comers like me often get confused on what CSS is all about, this article will enlighten you on the importance of CSS to an Html document and it will also answer the question on the possibility of using CSS without HTML.

Let’s dive in! What is CSS?

CSS Sample Picture

CSS —( full from is Cascading Style Sheet) is a style sheet language which describes the presentation of web pages, which includes colors, fonts, and layouts. It is basically used to design web documents like HTML. CSS is used for describing the presentation of a document written in a markup language such as HTML.

Often times, newcomers like me in web development world get Html and CSS confused, so let me break it down:

  • Html is to present the document needed for a web page and
  • CSS is to design the outlook of the page and help set the user interface to fit into different devices where the page will be used.
CSS Icon Image

Importance of CSS:

  • Designing: CSS is used to design an Html document in terms of its color, display, fonts, image display, and every other designing features. CSS gives a superior designing options than Html which will make the page look better.
  • Device compatibility: CSS allows for proper optimization of web designs for more than one device type like tablets, cell phones, printers, computers and any other device. This makes it easy to control how a page appears on various devices.
  • Saves time: styling with CSS saves time by the use of selectors on elements. As a user you can also define a style for a Html element and it can be easily used for another web page.

CAN CSS BE USED WITHOUT HTML?

I asked myself this question when I started learning Html and CSS and I don’t think I’m the only one who have been curious about this, so I’ll be helping us out on this curiosity. YES! CSS can be used for other Markup Languages like XML, SVG, XUL, and XHTML. However, for web developers, CSS is very important to use in Styling Html for better and wider options of styling and designing your websites.

This I leave with you, CSS is the beauty that makes Html look stunning. To have your Html “glamorous” you’d need CSS.

--

--