Skip to main content

What Is The Difference Between HTML and CSS?

If you’re thinking of building a website it’s likely you’ve heard the terms “HTML” and “CSS,” but may be wondering how they’re different. They go hand-in-hand in building a webpage, but each serve a very unique purpose.

HTML:  Hypertext Markup Language is the standard and most basic language in use to create web pages. It has a very simple code structure that makes it extremely easy to pick-up and learn compared to any other language. CSS or Cascading Style Sheets is a style sheet language that can be applied to any XML document. Its purpose is to simplify the styling of certain elements so that the written code would be a lot easier to read.


CSS:  CSS was developed to simplify the code in much bigger pages. This doesn’t mean that CSS cannot be used in simpler and less complex pages. CSS can still be beneficial for small pages but the benefits are more apparent as the size of the page grows. CSS does this by creating custom tags that defines the proper font, size, color, margin, and even the background. These custom tags can then be used just like normal HTML keywords like Font and Bold; but instead if just changing one aspect, it changes every aspect to conform to the tag definition. The end result of all this is that you would only need to use one tag to achieve a specific look, and you can use that tag over and over again in your pages. You are also not limited to a single tag, you can create as many as you need to fully stylize your pages.


In 1989, Tim Berners-Lee invented the Web with HTML as its publishing language. HTML (Hyper Text Markup Language) was created to help programmers describe the content on a website like <this is a heading>, <this is a paragraph>. HTML uses tags to help you add paragraphs, headers, pictures, bullets and other pieces of structure. Just like you would write something on a word document, HTML helps you write something on a website. 



CSS was first proposed by Hakom Lie and co-created by Bert Bos around 1996. Created to compliment HTML, CSS (Cascading Style Sheets) is what makes a website look and feel amazing. Presentation and ease of use have been some of the qualities CSS has brought to web development. It is more involved with changing a websites style rather than its content. Kind of like changing the font size, font color and positioning on a word document. CSS is in charge of the way the content looks on a page and what else goes on it to compliment that content.  


For more Query, please visit : http://www.osglsofttech.com 
Call : +91-8650030309, 8650030308, info@osglsofttech.com

Comments

Popular posts from this blog

Why use an Inventory Management System?

Inventory management   software is a computer-based   system  for tracking   inventory  levels, orders, sales and deliveries. It can also be   used  in the manufacturing industry to create a work order, bill of materials and other production-related documents. Inventory  control is also  important  to maintaining the right balance of stock in your warehouses. You don't want to lose a sale because you didn't have enough  inventory  to fill an order. ... Too much  inventory  can trigger profit losses––whether a product expires, gets damaged, or goes out of season. ·          Real-Time Inventory by Category & Location Real time inventory provides comprehensive information’s in a format you currently use within a minute of the physical audit to be completed.   Real-Time Inventory   Control Software package allows you to manage all aspects of you...

Why Mobile Apps are Better Than Mobile Websites

The   number of mobile users  today is greater than the number of desktop users! Consequently, businesses have realized the need to effectively use mobile channels for attracting customers. They have started new operations (or scaled existing ones) through mobile websites and mobile apps. While businesses with large wallets can afford to employ both mobile websites and apps , other companies might have to choose one of them. The choice between mobile apps and websites depends on their cost, usability, required features and the audience they serve. That being said,  studies show  that users prefer mobile apps more than mobile websites . This makes for a strong reason to have mobile apps for reaching out to potential (and existing) customers. ·         Mobile Apps Offer Better Personalization Personalization is about offering tailored communication to users based on their interests, location, usage behavior, and more. Wi...

Learn New Programming Languages Groovy, Rust, Elixir, Go

Groovy Groovy  is an  object-oriented scripting language  that was created by Apache  for the Java platform . It appeared first in 2003, however the first stable release (Groovy 1.0) came out only in 2007. Since then, it has been used by companies such as  Netflix, Linkedin, Airbus, and Mastercard . Groovy is  dynamically compiled to Java bytecode , therefore it  seamlessly integrates with any Java library . If you’ve already programmed in Java or any other language that  uses the curly-bracket syntax  you can  learn Groovy relatively quickly . As Groovy is  open-source , you can find the  source code on Github , or you can contribute to the project yourself if you want. Although Groovy is usually praised because it  increases developers’ productivity ,  access to the Grails Web Application Framework  can also be a good reason to give a closer look to it. Grails was initially called  “...