Back to blog

October 06, 2023

Nipa Bhadja
Nipa BhadjaTutor Head

Why Html & CSS Beginners Should Learn First

blog-img-Why Html & CSS Beginners Should Learn First

HTML ( Hypertext Markup Language) and CSS (Cascading Style Sheets) are core technologies for building Web pages.

 


  • In fact, HTML uses a tag-based structure that is easy to understand even without technical experience. CSS adds styling such as fonts, colors, or layouts to your website, making the website more aesthetically pleasing.


  • So, As fundamental web development languages, HTML and CSS are great ways to start development.


  • We can start learning coding development with the help of HTML. Already he teaches how to put elements and tags to structure a web document.


  • HTML is a web-based language that tells your browser how to showcase text and images on a webpage. You use tags to indicate the various elements, determine the placement of paragraphs and headings, and add images and videos.


  • HTML can help you learn other coding languages more easily.


  • We should also look at how to get started with HTML and CSS. And if you are an IT student, you must have come to study. Because in many courses, HTML and CSS have been added to the basic course in the starting phase. Both are very easy to learn and understand.



  • It is very simple and easy to explain right from the beginning. How will it run from the history of HTML, where can you use the text editor? All such details are given by it.


  • Let us also see a small demo of the HTML code.



<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h1> Hello </h1>
</body>
</html>



  • In the above code, you will see that first a basic html structure is created. <html><head><body> These are the basic and main tags that are used to create the simple structure of HTML first.


  • Then the <meta> and <title> tag which is written in the <head> tag, if we understand the meta tag in plain language, it is a tag for SEO of the site. The <Title> tag is used for the name shown in the tab on the site.


  • After that, if you see that <h1> tag is used, it shows the data written in it as Heading. By using many such tags, we can show our code more neatly and systematically.


  • We should also add CSS in the above code.



<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> 
   <title>Document</title>
</head>
<body>
    <h1 style="color: red"> Hello </h1>
</body>
</html>



  • You can change the font color by using the color property. And very easily you can make the site attractive with CSS properties.


  • Let's see its output.



  • once more, should add more background color.



<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h1 style="color: red; background-color:rgb(68, 212, 200);"> Hello </h1>
</body>
</html>



  • Added background-color property and direct background color change is done. In this way, CSS can be added very easily.
  • Let's see its output.




  • By understanding HTML and CSS, you will soon be able to get a grasp on other technologies much more quickly and easily, these include JavaScript, PHP, SQL, and Python.


  • If you’re looking to start a new career in the tech world, understanding how different languages work to develop your skills is necessary. These languages currently power the internet and your favorite websites from Netflix to Google and Facebook all use HTML and CSS, so you will have no trouble finding a company that can utilize your skills. Even if you’re not ready for a career change, skilling yourself with HTML & CSS can provide you with an additional source of income These skills are currently growing in demand, and investing in them now can benefit you in the long run.


HTML
CSS