HTML <bdo> tag
HTML <bdo> tag stands for "bidirectional override" which is used to overrides the current/default text direction. This tag sets the direction of content within it to render on browser from left to right or right to left.
The <bdo> tag is useful for the languages which are written from right to left such as Arabic and Hebrew.
Syntax
Following are some specifications about the <bdo> tag
Display | Inline |
Start tag/End tag | Both start and End tag |
Usage | textual |
HTML pre tag
The HTML <pre> tag is used to specify pre formatted texts. Texts within <pre>.......</pre> tag is displayed in a fixed-width font. Usually it is displayed in Courier font. It maintains both space and line break.
It is widely used to display language examples e.g. Java, C#, C, C++ etc because it displays the code as it is typed.
Example:
No comments:
Post a Comment