What is HTML?

HTML is a markup language for describing web documents (web pages).
- HTML stands for Hyper Text Markup Language
- A markup language is a set of markup tags
- HTML documents are described by HTML tags
- Each HTML tag describes different document content
Read more about HTML
What is CSS?
- CSS stands for Cascading Style Sheets
- CSS defines how HTML elements are to be displayed
- Styles were added to HTML 4.0 to solve a problem
- CSS saves a lot of work
- External Style Sheets are stored in CSS files
Read more about CSS
What is JS?
- JavaScript is the most popular programming language in the world.
Read more about JS
Better let’s create our HTML
and see how and why we need this theory!
Then you will search for theory when you feel you need it, not when I tell you.
How to create new Project
- Create a folder (eg. my-html-cv)
- Open VSCode (free IDE)
- Open Folder from VSCode and select your folder
- Create a file and name it index.html
- Write some info about you (only text for now)
- Save the file [Ctrl+S]
- Double click on file name (run it)
- I hope your default browser is not IE
- Open it with notepad, notepad++ or other editor
- just to see that has the same text as you typed
The need to organize our info!
Let’s assume we need to expose our info like a real document (eg. MS Word / Google Docs / Open Office)
So we need some:
- spaces ➡ — or enters ↩
- underlines
- bold
- italic
- mix format
- tables rows & cells
Titles
How hard could it be?
The need of html TAGS
It is time to read more about HTML, and understand some items from of html structure
Learn Web Development Basics – HTML, CSS, and JavaScript Explained for Beginners

Kingsley Ubah

If you are learning web development, you will come across terms like HTML, CSS, and JavaScript. These are often called the building blocks of the Web.
These three tools dominate web development. Every library or tool seems to be centered around HTML, CSS, and JS. So if you want to become a web developer, you need to learn them well.
You’ll also discover that websites are mostly built from these three languages.
But you’re probably wondering what each one is and what it’s really used for. What makes these languages so special and important? And what makes them so ubiquitous that you can’t help but see them in every tutorial and topic based on web development?
Well, now you need wonder no more.
In this article, I will explain the basics of what HTML, CSS, and JavaScript are, how they make the Web work, and what they do on their own.
What is the Internet?
The internet is simply a network of computers that communicate with each other to send and receive data (information).
Each of these computers on the internet can be distinguished and located by a unique number called an IP Address. An IP Address looks something like this: 168.212.226.204
What is the Web?
The Web is a subset of the internet.
Like every other computer network out there, the Web is made up of two main components: the web browser client and the web server.
The client requests the data and the server shares or serves its data. To achieve this, the two parties have to establish an agreement. That agreement is called the Application Programming Interface or in short, the API.
But this data has to be arranged and formatted into a form that’s understandable by end-users who have a wide range of technical experiences and abilities.
This is where HTML, CSS, JavaScript and the whole concept of web development come into play.
What is HTML?
HTML stands for Hyper Text Markup Language.
Dictionary.com defines a Markup as:
So you can think of HTML as the language used for creating detailed instructions concerning style, type, format, structure and the makeup of a web page before it gets printed (shown to you).
But in the context of web development, we can replace the term ‘printed’ with ‘rendered’ as a more accurate term.
HTML helps you structure your page into elements such as paragraphs, sections, headings, navigation bars, and so on.
To illustrate what a page looks like, let’s create a basic HTML document:
This is how you can format and structure a document with just HTML. As you can see, this markup contains some web elements such as:
- Level 1 heading h1
- Level 2 heading h2
- Level 3 heading h3
- A paragraph p
- An unordered list with bullet points ul li
- A button input input
- And the whole body of the page body
This is what that markup above renders on a web browser:

localhost:3000/index.html
You can also add attributes to these elements which you can use to identify the elements and access them from other places in the site.
In our example, we set the id attributes to all of the three span elements. This will help us access them from our JavaScript as you will see later.
Think of this attribute the same way as your social media username. With this name, others can find you on social media. And someone can also refer to you or mention you with this name (you can get tagged in a post, and so on).
This page is very basic and unattractive, though. If you are building anything other than a demo, you will need to add some basic styling to make it more presentable. And we can do exactly that with CSS.
What is CSS?
While HTML is a markup language used to format/structure a web page, CSS is a design language that you use to make your web page look nice and presentable.
CSS stands for Cascading Style Sheets, and you use it to improve the appearance of a web page. By adding thoughtful CSS styles, you make your page more attractive and pleasant for the end user to view and use.
Imagine if human beings were just made to have skeletons and bare bones – how would that look? Not nice if you ask me. So CSS is like our skin, hair, and general physical appearance.
You can also use CSS to layout elements by positioning them in specified areas of your page.
To access these elements, you have to “select” them. You can select a single or multiple web elements and specify how you want them to look or be positioned.
The rules that govern this process are called CSS selectors.
With CSS you can set the colour and background of your elements, as well as the typeface, margins, spacing, padding and so much more.
If you remember our example HTML page, we had elements which were pretty self-explanatory. For example, I stated that I would change the color of the level one heading h1 to red.
To illustrate how CSS works, I will be sharing the code which sets the background-color of the three levels of headers to red, blue, and green respectively:
The above style, when applied, will change the appearance of our web page to this:

We access each of the elements we want to work on by «selecting» them. The h1 selects all level 1 headings in the page, the h2 selects the level 2 elements, and so on. You can select any single HTML element you want and specify how you want it to look or be positioned.
Want to learn more about CSS? You can check out the second part of freeCodeCamp’s Responsive Web Design certification to get started.
What is JavaScript?
Now, if HTML is the markup language and CSS is the design language, then JavaScript is the programming language.
If you don’t know what programming is, think of certain actions you take in your daily life:
When you sense danger, you run. When you are hungry, you eat. When you are tired, you sleep. When you are cold, you look for warmth. When crossing a busy road, you calculate the distance of vehicles away from you.
Your brain has been programmed to react in a certain way or do certain things whenever something happens. In this same way, you can program your web page or individual elements to react a certain way and to do something when something else (an event) happens.
You can program actions, conditions, calculations, network requests, concurrent tasks and many other kinds of instructions.
You can access any elements through the Document Object Model API (DOM) and make them change however you want them to.
The DOM is a tree-like representation of the web page that gets loaded into the browser.

Each element on the web page is represented on the DOM
Thanks to the DOM, we can use methods like getElementById() to access elements from our web page.
JavaScript allows you to make your webpage “think and act”, which is what programming is all about.
If you remember from our example HTML page, I mentioned that I was going to sum up the two numbers displayed on the page and then display the result in the place of the placeholder text. The calculation runs once the button gets clicked.

Clicking the «Get the sum» button will display the sum of 2 and 7
This code illustrates how you can do calculations with JavaScript:
Remember what I told you about HTML attributes and their uses? This code displays just that.
The displaySum is a function which gets both items from the web page, converts them to numbers (with the Number method), sums them up, and passes them in as inner values to another element.
The reason we were able to access these elements in our JavaScript was because we had set unique attributes on them, to help us identify them.
So thanks to this:
We were able to do this:
Finally, upon clicking the button, you will see the sum of the two numbers on the newly updated page:

2 plus 7 is equals to 9
If you want to get started with JavaScript, you can check out freeCodeCamp’s JavaScript Algorithms and Data Structures certification. And you can use this great Intro to JS course to supplement your learning.
How to Put HTML, CSS, and JavaScript Together
Together, we use these three languages to format, design, and program web pages.
And when you link together some web pages with hyperlinks, along with all their assets like images, videos, and so on that are on the server computer, it gets rendered into a website.
This rendering typically happens on the front end, where the users can see what’s being displayed and interact with it.
On the other hand, data, especially sensitive information like passwords, are stored and supplied from the back end part of the website. This is the part of a website which exists only on the server computer, and isn’t displayed on the front-end browser. There, the user cannot see or readily access that information.
Wrapping Up
As a web developer, the three main languages we use to build websites are HTML, CSS, and JavaScript.
JavaScript is the programming language, we use HTML to structure the site, and we use CSS to design and layout the web page.
These days, CSS has become more than just a design language, though. You can actually implement animations and smooth transitions with just CSS.
In fact, you can do some basic programming with CSS too. An example of this is when you use media queries, where you define different style rules for different kinds of screens (resolutions).
JavaScript has also grown beyond being used just in the browser as well. We now use it on the server thanks to Node.js.
But the basic fact remains: HTML, CSS, and JavaScript are the main languages of the Web.
So that’s it. The languages of the Web explained in basic terms. I really hope you got something useful from this article.
To round off this article, I have something to share. I recently started a weekly coding challenge series aimed at teaching beginners how to program in JavaScript. Check it out on my blog.
Html css javascript что это
Каждая из этих технологий имеет различное предназначение, цели и функции. Но бо́льшую ценность они представляют, когда работают вместе, а не по отдельности. Давайте теперь отдельно разберем каждую из этих технологий.
HTML (Hypertext Markup Language) — это язык гипертекстовой разметки. Эта разметка создается с помощью тегов (то есть с помощью «меток») — наборов символов, входящие в угловатые скобки. Например, основной тег страницы html пишется следующим образом — <html>. Любая страница в интернете состоит из множества тегов. Конечно, это не то, что мы привыкли видеть, когда заходим в интернет. Каждый из этих тегов играет определенную важную роль.
Чтобы упростить задачу понимания этой технологии, давайте представим себе обычный дом. Увидев дом, мы видим его экстерьер, то есть то, из чего сделан дом. Теги на странице можно рассматривать как небольшие кирпичики, с помощью которых построен дом. Важно, чтобы эти кирпичи аккуратно и красиво были разложены, иначе дом будет криво смотреться, а может и вообще он будет непригоден для использования. Также и на страницах, при составлении структуры страницы важно уделить особое внимание тегам.
Рассмотрим общую структуру любой страницы в интернете:

Любая веб страница начинается с <!DOCTYPE html>. Этот тег дает браузеру понять, что далее представлен код html последней [пятой] версии.
Затем пишется парный тег <html></html>. Это основной тег страницы, который обязательно должен присутствовать и содержать в себе других 2 основных тега, это head и body.
Внутри парного тега <head></head> необходимо написать заголовок страницы (тег title), который отображается во вкладке браузера. Так же в контейнере <head></head> обычно находятся различные мета-теги для поисковых систем, подключение различных файлов к странице (например, стили) и т.д. В этой секции находится информация, которая важна для страницы, но не отображается на ней.
Внутри тега <body></body> находится всё, что должно быть на странице. Это любые из существующих тегов, текст, картинки, элементы работы с данными и так далее. Всё, что вы видите на страницах в интернете, всегда находится в теге body.
В приведенном выше примере в теге body находятся 2 элемента — тег h1 и тег p. Тег h1 обозначает заголовок на странице, а тег p — абзац. У каждого html тега есть свое предназначение. К тому же все элементы имеют стандартное форматирование браузера, это значит, что размер текста в заголовке по умолчанию будет больше, чем в абзаце. Из таких тегов и составляется страница, которую вы видите в браузере. Однако без графического оформления эти элементы совсем не презентабельные, именно поэтому нужен CSS.
CSS — Cascading Style Sheets — это каскадные таблицы стилей. С помощью разметки мы создали структуру и наполнение документа, а теперь будем внешне оформлять. Вот для этого и служат каскадные таблицы стилей. Чтобы здесь тоже упросить задачу с понятием CSS, вернемся к нашему примеру с домом. После постройки дома он выглядит совсем не презентабельно, поэтому, чтобы придать красивый вид, его раскрашивают. Подъезд покрашен в один цвет, балконы в другой и так далее. Это и есть графическое оформление. Так же и со страницей: без стилей элементы имеют только стандартное оформление браузера. Но с помощью стилей вы меняете на странице размер текста, его цвет, шрифт и так далее.
Вернемся к нашему примеру кода страницы html. Для тега h1 можно задать красный цвет текста следующим образом:

Как видите, ничего сложного в такой записи нет. Сначала мы указываем к чему нужно применить блок стилей. Далее в фигурных скобках мы описываем стили для этого элемента h1. В этом блоке мы можем задать любые из имеющихся стилей и все они применятся к элементу h1.
Теперь, разобравшись со стилем текста, давайте постараемся это все оживить. Тут нам придется прибегнуть к помощи JavaScript.
JavaScript
JavaScript — это язык программирования, сокращенно «JS». Изначально его создали для того, чтобы «оживить» веб-приложения и веб-сайты, то есть, чтобы элементы интерфейса (всплывающие окна, анимации, кнопки и т.д.) реагировали на действия пользователей. Однако сейчас этот язык программирования применяют не только для оживления страниц, но и на стороне сервера, для создания мобильных приложений, веб-сервисов и так далее.
Если вернуться к примеру с домом — то JavaScript это лифт, который доставляет пользователей на нужный этаж. Пользователь заходит в дом, ему нужно попасть на конкретный этаж, он нажимает на кнопку этажа и далее лифт автоматически доставляет пользователя на нужный этаж. Так же и на странице, пользователь нажимает на кнопку, а JavaScript выполняет нужное действие. Конечно, человек всегда может подняться по лестнице, так же как и сайт может работать без JavaScript, но, согласитесь, именно лифт делает дом лучше, так же как и JavaScript делает лучше веб-страницу.
Ну и последняя технология в этой связке — PHP. PHP (от англ. Hypertext Preprocessor) — это серверный язык программирования. Как мы уже отметили, если JavaScript работает на стороне клиента (браузера пользователя), то PHP — на стороне сервера (компьютер, где располагается сайт). PHP не зависит от скорости компьютера пользователя или его браузера, он полностью работает на сервере. PHP позволяет соединить все страницы в единое целое и предоставить сайту функции, без которых эти страницы не будут работать как единое целое: авторизоваться на сайте, подать заявку на бронирование, добавить товары в корзину и сделать заказ. PHP работает с базой данных, которая хранит всю динамическую (изменяющуюся) информацию на сайте.
Если вернуться к нашему примеру с домом, то PHP можно представить как водопроводную систему, электричество и т.д. То есть это то, что работает «под капотом» дома. Чтобы лифт работал, в доме нужно электричество. И это более важная составляющая дома, нежели лифт. Когда жилец дома тратит электричество, то все эти показания записываются в «базу данных» дома. Так же и с сайтом, когда пользователь нажимает на кнопку отправки заявки на бронирование, JavaScript отправляет данные на сервер, где PHP обрабатывает эту информацию и записывает в базу данных.
Умея работать с этими технологиями в связке, можно создавать любые сайты, от простых лендингов до огромных интернет-магазинов либо же сложных веб-сервисов с большим количеством данных. Спрос на такие технологии не падает, а это значит, что в ближайшие годы вы точно сможете хорошо зарабатывать, используя эти технологии.
Если вы еще только планируете изучение этих технологий, то рекомендуем рассмотреть обучение на нашем курсе «Веб-верстальщик», в котором подробно изучаются такие технологии, как HTML, CSS и JavaScript. Этих трех технологий вполне достаточно, чтобы создавать сайты. А при необходимости можно заняться освоением языка PHP, чтобы делать более мощные и большие сайты.
What Is HTML?
![]()
HTML is the markup language that we use to structure and give meaning to our web content, for example defining paragraphs, headings, and data tables, or embedding images and videos on the page.
What Is CSS?
CSS (Cascading Style Sheets) is a declarative language that controls how web pages look in the browser. The browser applies CSS style declarations to selected elements to display them properly. A style declaration contains the properties and their values, which determine how a webpage looks.
CSS is a language of style rules that we use to apply styling to our HTML content, for example setting background colors and fonts, and laying out our content in multiple columns.
What is JavaScript?
JavaScript or “JS” is a programming language used most often for dynamic client-side scripts on webpages, but it is also often used on the server-side, using a runtime such as Node.js
JavaScript is a scripting language that enables you to create dynamically updating content, control multimedia, animate images, and pretty much everything else. (Okay, not everything, but it is amazing what you can achieve with a few lines of JavaScript code.)
NOTE: The information I collected from my favorite site MDN. You can visit for more details.