Welcome to the section of HTML tutorials. Here you can learn the basics of HTML. After reading these tutorials you will be able to create your own Web pages. If you are already familiar with XML, HTML will seem easy to learn. I recommend you not to read this tutorial from start to finish, but to spend a quarter of an hour at half an hour after reading a few lessons, and practicing.
Getting ready to learn HTML
Creating documents in HTML is not difficult. For starters, you simply need a notepad and motivation. If you are new to the field and you have not yet read the Guide for beginners in HTML, I suggest you spend a few minutes reading it.
Internet pages are very useful. For the following reasons:
The easiest way to disseminate information on the Internet
Another way to develop your business
You can tell the world what you have to say on a personal page
Words to remember
Tag-Used to specify regions of an HTML document, which a browser will read later. The tags will look like this: <tag>
Element-is a complete tag, having an opening <tag>and closing.
Attribute-is used to change the value of an element to HTML. Usually a multi-attribute element.
At the moment just remember that a tag is a command that the browser will run, that an element is a full tag, and that an attribute personalizes and changes an element to HTML.
HTML – Elements: body,head,title
HTML elements have multiple levels. Everything you see: the paragraphs, the banner, the navigation links on the left and the right, are all elements of this page.
An element has three parts: an opening tag, the element content, and a closing.<p>-The tag that opens a paragraph
The content of the item-the same paragraph.</p>-The closing tag.
An HTML document will always start with a<html>and End With</html>. This is the standard HTML structure. Please open a Notepad and copy the following code:</html>
At the moment we will leave this tag blank, and we will introduce the next item from the list, but first let’s take a look without it:</head></head></head>
If you save the document and try to refresh the initial page from the browser you will not see any difference. Just have a little patience, because then we will look at some visible elements.
For everything to work well you have to put the title tag inside the head tag. What you write between these two title tags (<title>And</title>) will be seen as the name of the browser, usually in the upper right corner. Then we’ll have the source code:</title>
Now save the file and open it in your browser. You can see the title in the upper left or right corner as for the majority of browsers.
You can put the name you want, just remember that the most descriptive names are the easiest to find later.<body>Element
The BODY element is the one that defines the beginning of the contents of the page itself (titles, paragraphs, photos, music, and any other content). As you can see from the menu on the left, we will talk about all the elements one by one.
For the moment all you have to keep in mind is that the body covers all the content of the page.
Now look what you’ve done, and later I’ll invite you to see what’s in the next section.