What is HTML, CSS and JavaScript?
#showyourwork
In the series of web development, in this post I am going to go deeper into the three basic and most important front-end languages which I am sure you know already and they are- HTML, CSS and JavaSCript. Now, let's get straight into the details of these languages which I have learnt so far-:
HTML-
HTML is known as Hypertext Markup language. Hypertext means we can grant access to other texts (web-pages) through links and Markup means the basic structure and the raw text's appearance.It is the most basic language used to create a website and this language is a must i.e. we can't create a website without using this language. Even if you use different frameworks the HTML is working behind.If you have used HTML before ofcourse you know it uses tags like (<body>) this according to which the text is displayed.It is just what we have studied in our CS/IT books as our first language. And for those who haven't don't worry the simple HTML code looks something like this.
Now the question arises, what are the things that we can do just using HTML?
And, the answer is, using HTML, we can add headings,subheadings, paragraphs, lists, images, link webpages, build tables, control some styling like making text bold, italics, underlined and some more .
Now let's move on to CSS.
CSS-
CSS is known as Cascading Style Sheets.It is the beauty and accessory added to the normal body.It adds style and structure to the HTML content.CSS is responsible for color, fonts, positioning and much more of the HTML content, what this simply means is, using CSS we can add a variety of color, fonts, positions etc to the plain and basic HTML content.We create a CSS file and then link it to the HTML content.
What i have understood about CSS is, it is something like, we buy shoes or trousers or sandals or watch or necklace etc. to make ourselves look good. The same way we use CSS to make our website look good.And remember, just as these accessories can't be useful without a physical body, the same way CSS can't exist without HTML.
Ex of CSS-
Now, let's understand JavaScript.
JavaScript-
JavaScript is the life of a website. Because without JavaScript, we can see the contents of the website but can't interact with it.What I mean is, what we see a website without JS(JavaScript) is a static website which is plain and boring becuase it has just texts written all over.
We all have filled different forms and have applied for different jobs.The submit, apply buttons that we see in these forms use JS.The alert message which says 'This field is required' also uses JS.Using JS, we can display confirmation box like 'Are you sure you want to submit?' or box like 'Alert:This content is protected.' and ofcourse there are many more uses.
An ex of JS-
This JS statement will print -
"Hi, this is my first JS statement.".
So, in this post, we learnt what is html, css and JavaScript. In the next post, we will learn how to link all these three elements and create our first webpage with results.
Give your feedback below so that I along with others can improve my post.
Appsinvo is the Top Mobile App Development Company in India to deliver end-to-end services and solutions to the clients.
ReplyDeleteMobile App development company in Asia
Top Mobile App Development Company in Russia