I'm Sharing to you some points about Formatting Tags in HTML Because HTML is the Basi language for making a website in the world of web design with Html.
because HTML is the main structure of the website in the so in my previous post you can gain knowledge about that What are HTML Tags and HTML Elements
Horizontal rules are used to visually break up sections of a document.
The <hr> tag creates a line from the current position in the document to the right margin and breaks
the line accordingly.
Example:
Weblog tricks Foundation<hr/>
Sometimes you want the HTML text to appear in the same format as it was typed in – make use of <pre> …
</pre> tags.
Example:
<pre>
web-log tricks.com
html text
Wasi Institute Of Science And Technology
</pre>
If someone wants to make the fonts of content bold, italic – it can be done by using <b> and <i>
tags with respective ending tags.
Example:
This <b>Bold</b> and <i>Italicized </i> text.
So this is the simple HTML formatting tags if you like this so you can share with your friends.
because HTML is the main structure of the website in the so in my previous post you can gain knowledge about that What are HTML Tags and HTML Elements
So I start from basic HTML tags like a line break as like <hr> basically so many tags in HTML but I tell you some basic tags where every developer use these in HTML code for web page design
Line Breaks - The <br /> :
A line break ends the line you are currently on and resumes on the next line. Placing <br /> within the HTML code is the same as pressing the return key in a word processor.
Example:
Line break Really works<br/>
Horizontal Rules - <hr /> :
Horizontal rules are used to visually break up sections of a document.
The <hr> tag creates a line from the current position in the document to the right margin and breaks
the line accordingly.
Example:
Weblog tricks Foundation<hr/>
Preserve Formatting - <pre> :
Sometimes you want the HTML text to appear in the same format as it was typed in – make use of <pre> …
</pre> tags.
Example:
<pre>
web-log tricks.com
html text
Wasi Institute Of Science And Technology
</pre>
Bold and Italic Text - (<b>..<b/> <i>..</i> ):
If someone wants to make the fonts of content bold, italic – it can be done by using <b> and <i>
tags with respective ending tags.
Example:
This <b>Bold</b> and <i>Italicized </i> text.
So this is the simple HTML formatting tags if you like this so you can share with your friends.
COMMENTS