What is the HTML code brand?

All HTML documents are formed only by text. These documents include both the text to be displayed and the instructions, as it should be displayed by the Internet browser. The instructions are given according to marks that are included in the text document. The HTML code mark is one such instruction and identifies the text as a computer code. The code mark is one of the brands that must have an opening and closing mark. When used, it has the following format: Hi . If this instruction was read by the browser, it would change how the word Hi is formatted to distinguish from another text on the page. When using a code mark, the browser usually changes the font surrounded by siring signs to monospace or font similar to this.

This brand has no specific attributes or properties that are unique. When writing a HTML document, you can format any computer code using other general attributes. If the style sheets are used to format a document, class and styleU, can be used to point out how the text is stylized. Other attributes that can be included in the code mark are title , lang and dir - gives a specific name, from left to right right.

events are actions undertaken by a web user such as clicking or double clicking on something on the page. These events can be coded in the HTML document and can also be included in the code mark. Optional events that can be used as attributes for the code brand include onclick, Ondblclick, OnKeydown, OnKeypress, OnKeyup, OnmousDown, Onmouseup, OnmousEover and onmouseout .

Most browsers have a default style that needs to be used when the HTML document occurs. The use of attributes with this brand is completely optional, so there is no need to enter any. If attributes are not included, the browser only uses the default settings. It is important to realize that not all browsers will displaycode of code in the same way. The browser displays code text differently than the surrounding text text, but each browser does not have to format code text in the same way if attributes and styles are not included in the code mark.

IN OTHER LANGUAGES

Was this article helpful? Thanks for the feedback Thanks for the feedback

How can we help? How can we help?