admin September 28, 2020 Technology

Cracking the Code: A Simple Guide to the Three Languages that Make up Websites

People visit many different websites every single day! but not everyone knows what they really are. So let’s talk about that.

To understand what the website are, you need first understand what a web page is.

photo

In Short web page is a test file with bunch of code

photo

It’s nothing special, really. Web pages are written with following three languages:
1. HTML
2. CSS
3. JavaScript

To make their functions more understandable, I’ll use an analogy with the T-rex.

photo

HTML is used to describe the structure of the web page, to create the skeleton for your T-rex. What parts should the page be made of and in which order should be placed, this is all described with HTML.

photo

CSS is used for design purposes, make our T-rex look more realstic. Position, space between component, fonts and colors of the webpage is described with CSS./span>

photo

JavaScript is used to make that boring static web page more dynamic, to add extra functionality to it. Search box’s auto complete function, or profile preview funtion, are made possible with JavaScript.

photo

The above was about the structure of a web page. And a website is basically a folder with a bunch of web pages and media files in it, Like music pictures, videos

photo

Yep, it is that simple, a bunch of files in a folder, nothing more.

“But wait a second”, you might say, “I do not see any code, when I visit my Facebook page for example. I see logo, a menu bar, relationship posts and statuses I do not care about”.

photo

Well, that’s all thanks to your browser. Browser is a program that takes all that code, analyzes it, and draws a web page onto your screen.

photo

By the way if you are interested what a code of a web page looks like, here are key combinations to view the sources code on different browsers.

photo

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments

Recent Posts

Limited Offer

Try YetaHost Today!


Get a 90% discount on the first month.

By signing up, you agree to the Terms of service.