Let’s write a basic and complete html code. Let’s take a look at the structure.
<html> <head> <title></title> </head> <body> </body> </html>
Next we will explain that a complete html code starts from <html> and ends with </html> The
tag includes the head <head></head>
In the head we usually add the title <title></title> External css style (will be discussed later) to) There are also some javascript codes
The text part<body></body> usually contains our content, such as text, tables, etc.
So under normal circumstances, as long as the html code starts and ends with html, has a header and a body part, it is a simple html file
Note: When we create an html file, the file name is index Then our The suffix name should be written .html which is index.html
Next Section