Creating HTML Tags
Tags give the Web browser instructions on how to display elements of a Web page on a computer screen, whether it's just text, pictures, audio clips, video clips, or hyperlinks to other Web pages.
Tags always are a set of angle brackets:
Within the brackets you type a command that tells the browser to do something.
The command is usually a letter or series of letters that the browser recognizes as a command and then applies to the text or whatever else follows on the page right after the bracketed command.
Thus you can use commands to tell the browser to display the subsequent text in boldface, to increase the font size of the text, to change its color, etc.
Then you usually add another closing tag that tells the browser to stop doing whatever the initial tag commanded it to do, such as when you no longer want the text displayed in boldface.
That ending tag is another set of angle brackets and a backslash:
< / >
And within that closing tag you repeat the original command, right after the backslash. The backslash tells the browser this is the end of this particular command and not to apply it any further.
For example, if you want a Web browser to display the words "Learning basic HTML is easy" in boldface, you would type:
< b>Learning basic HTML is easy.
The letter "b" inside the angle brackets is the tag or command that tells a browser that the text that follows should be in boldface.
Then when you want the browser to stop displaying the words in boldface and return to plain text, you would add:
So the entire tag or command would be:
< b>Learning basic HTML is easy.</b>
All those words then would be displayed in boldface, while any additional words typed after the closing </b> command would be displayed as plain text.
Next to Attributes