
Relative to the text around it, is used to make the font size little smaller. An extra-wide margin is shown on the left side of this quote. To create a long quotation, this tag is used. The font of the text becomes similar to the one as typed using the typewriter and has a fixed width.
#Custom html tags code
When using this tag, the text font in the document is formatted to the source code font and has a fixed width.

This shows that the text is to be removed or no longer be used. To cross any text, this tag draws a line through its center. All the links in HTML are already underlined, so the need to use this tag for them is eliminated. is used as the opening tag, and is used as the closing tag. Italics is the text’s slightly inclined format. is used as the opening tag and is used as the closing tag. To make the text Italic, this tag is used. For changing the font size with respect to the preceding text, you can use. Font color can be changed using the tag (*) and its size can be changed using. Face means the font name, like “Monotype Corsiva”, “Times New Roman”, etc. It has three main attributes – face, size, and color. is used as the opening tag, while is used as a closing tag.Īs the name suggests, it is used to apply a specific font to a text. Once this tag is entered, the same format is followed. This tag is used to bring the content of any page or table cell to the center.Ī preformatted tag is used to keep the already existing format of the HTML document. A horizontal line is drawn from the position of the cursor to the extreme right margin. Horizontal lines are used to break down or separate different sections in a document. No opening tags and closing tags are available for this. The line-break tag should be used to start the text from the next line.


You use and, respectively, when you start and finish the paragraph. This allows you to define the structure of the document in paragraphs. As well as before the heading, a blank line is left by default. To, with h6 being the smallest heading and h1 being the largest heading. Several size headings can be used in HTML. Headings are the beginning of any document. Let’s walk through some of the most useful tags that can assist you in designing the texts. However, if a lot of variety is used for formatting, it may prove to do the opposite. It can help to enhance the viewers ‘ look at the web page, making them more at ease to surf. You can make your text appear bold, underlined, italicized, and so much more with it. HTML provides us with various formatting options, which can be enabled via tags.
