Header Ads Widget

Responsive Advertisement

Ticker

6/recent/ticker-posts

9.2 LEARN ABOUT HTML IN ONLY 10 MINUTES.

  ads

 LEARN ABOUT HTML IN ONLY 10 MINUTES.

ads

A short tutorial to help you get started creating your website.
HTML is the markup language used to structure and present content on the World Wide Web. By combining CSS and JavaScript, you can create beautiful, interactive websites.

ads

HTML is the foundation of the web, so it is also the most important language for the web development career path. This simple tutorial will teach you the basics.

ads

And by the time you're done, we're launching a free 14-part HTML5 course on Scrimba.com. It's an interactive platform that allows you to jump into the code of a running screencast at any time.

You can watch the first talk here:

ads


Now, before we get into HTML, let's talk a little bit about the architecture of the Web. This clarifies the role of HTML.

ads

Basic Web Architecture
Once you have developed your website, you need to host it on a server so that it can be accessed on the World Wide Web. Every server has an IP address (eg 149.56.240.169) that can be thought of as a phone number.
We usually give this IP address a domain name (eg scrimba.com) to make it easier to remember.

ads

Typing this domain name into your browser invokes the server. The server then sends a series of HTML, CSS, and JavaScript files as follows:

ads


The browser starts loading her main HTML file, then continues with CSS and JavaScript. These files allow your browser to display attractive, interactive websites.

ads

Let's take a closer look at the role of these three languages.

ads

What is HTML?
Let's compare a website to a person. Use this analogy to understand his website for our company. HTML is best described as a skeleton:

ads

What is CSS?
But a plain HTML website doesn't look good, so you need to style it with CSS. It can be seen as skin and clothes on site.

ads


What is JavaScript?
Once you've mastered CSS, you need to move on to JavaScript. As an analogy, this is like the brains and brawn of our website:

ads


Write your first HTML file
To write HTML, you need an HTML I need documentation.
You can use any text editor, but the most popular these days are Sublime Text, VS Code, and Atom. You can also use Scrimba as an in-browser editor.

Let's create a new file, name it index.html and write Hello world! inside.

ads

Hello World!
If you drag this file to your browser or point your browser to the address of this file, you will get:

ads


How it looks in Scrimba when you open the index.html file in a browser window.
Congratulations. You have created your first website.

ads

Your First HTML Tag
However, you haven't created any HTML tags yet. For that, let's use Hello world! Text inside the

tag like this:
ads

Hello World!


The first

ads

is the opening tag and the second

ads

is the closing tag. As you can see the only difference is the backslash in the closing tag. This will display the following page.

ads


You have now told the browser that you are using Hello world! Text as heading. So the browser applies a style, essentially increasing the size of the text.

Getting started writing HTML is pretty easy.

ads

Creating a Real HTML Document
But this is not actually a valid HTML document. Because it must follow a well-defined structure. For the purposes of this tutorial, I'll give you a quick rundown and then get down to the fun stuff.

ads

A short tutorial to help you get started creating your website.
HTML is the markup language used to structure and present content on the World Wide Web. By combining CSS and JavaScript, you can create beautiful, interactive websites.

ads

HTML is the foundation of the web, so it is also the most important language for the web development career path. This simple tutorial will teach you the basics.

ads

And by the time you're done, we're launching a free 14-part HTML5 course on Scrimba.com. It's an interactive platform that allows you to jump into the code of a running screencast at any time.

You can watch the first talk here:

ads


Now, before we get into HTML, let's talk a little bit about the architecture of the Web. This clarifies the role of HTML.

ads

Basic Web Architecture
Once you have developed your website, you need to host it on a server so that it can be accessed on the World Wide Web. Every server has an IP address (eg 149.56.240.169) that can be thought of as a phone number.
We usually give this IP address a domain name (eg scrimba.com) to make it easier to remember.

ads

Typing this domain name into your browser invokes the server. The server then sends a series of HTML, CSS, and JavaScript files as follows:

ads


The browser starts loading her main HTML file, then continues with CSS and JavaScript. These files allow your browser to display attractive, interactive websites.

ads

Let's take a closer look at the role of these three languages.

ads

What is HTML?
Let's compare a website to a person. Use this analogy to understand his website for our company. HTML is best described as a skeleton:

ads

What is CSS?
But a plain HTML website doesn't look good, so you need to style it with CSS. It can be seen as skin and clothes on site.

ads


What is JavaScript?
Once you've mastered CSS, you need to move on to JavaScript. As an analogy, this is like the brains and brawn of our website:

ads


Write your first HTML file
To write HTML, you need an HTML I need documentation.
You can use any text editor, but the most popular these days are Sublime Text, VS Code, and Atom. You can also use Scrimba as an in-browser editor.

Let's create a new file, name it index.html and write Hello world! inside.

ads

Hello World!
If you drag this file to your browser or point your browser to the address of this file, you will get:

ads


How it looks in Scrimba when you open the index.html file in a browser window.
Congratulations. You have created your first website.

ads

Your First HTML Tag
However, you haven't created any HTML tags yet. For that, let's use Hello world! Text inside the

tag like this:
ads

Hello World!


The first

ads

is the opening tag and the second

ads

is the closing tag. As you can see the only difference is the backslash in the closing tag. This will display the following page.

ads


You have now told the browser that you are using Hello world! Text as heading. So the browser applies a style, essentially increasing the size of the text.

Getting started writing HTML is pretty easy.

ads

Creating a Real HTML Document
But this is not actually a valid HTML document. Because it must follow a well-defined structure. For the purposes of this tutorial, I'll give you a quick rundown and then get down to the fun stuff.

ads

Post a Comment

0 Comments