HTML commands for creating sites

The acronym HTML stands for HyperText Markup Language. HTML is not a programming language, it is a markup language for a site.

All browsers can convert this markup into a user-friendly view.

This language uses special commands called tags. Each tag has its own function. There are a huge number of tags. Ideally, you need to learn everything. But for a novice developer, basic knowledge is enough.

Basic HTML Commands

The list of HTML commands is very long. But the core is not so much. In order to start writing code, you need an editor. You can use Notepad. Using Notepad ++ is recommended. He looks like this.

html site building commands




, , . HTML . . - .

HTML . . - . , . , .





<html> </html>. , , "/". , . . . .

<html> . . . , , .

: head body.

commands for creating an html site in notepad




HTML- . . .

. Head - . , . body - . , . , .

html commands




:









  • ;
  • ;
  • ;
  • -;
  • ;
  • ;
  • , , .

:

<link rel = “stylesheet” href = “style.css” type = “text/css”>

:

<script type="text/javascript" src='main.js'></script>

. :

<title> </title>

. .

. <p></p>. <span></span>.

, "":

  • <i></i>
  • <strong> </strong>
  • <s> </s>
  • <u> </u>

. , .

HTML-. . <h1> </h1>. 1 6. , .

.

basic html commands




, h1. <title>. , 200 h1, .

-. , - .

html commands for the site




, , .

HTML-, - . , .

<a>. . , href, .

html commands




, , , . , .

(, , ).

. . .

:

<table width="100%" border="1">

<tr>

<td> </td>

<td> </td>

</tr>

<tr>

<td> </td>

<td> </td>

</tr>

</table>

width . . Border .

. tr . td . - .

list of html commands




. align, : Left, Center, Right. .

html table commands




HTML- ( ) . .

HTML-, . , Word.

Html (). .

<ul>

<li></li>

<li></li>

<li></li>

</ul>

:

HTML

<ul type="disc">

<li>...</li>

</ul>

<ul type="circle">

<li>...</li>

</ul>

<ul type="square">

<li>...</li>

</ul>

, <ul>, <ol>.

:

  • "1" – 1, 2, 3 ...
  • "A" – A, B, C ...
  • "a" – a, b, c ...
  • "I" – I, II, III ...
  • "i" – i, ii, iii ...

.

, start, . , 10- 20- .

HTML- , . head: <link rel = “stylesheet” href = “style.css” type = “text/css”> .

, . . , . , . .

, 20 HTML 2 . , . , 20 .

.

html stylesheets




.




All Articles