HTML Inline Tags

Inline Tags
Inline tag Image
Inline Tag

Formatting Text
Inline tags are that which have effects only at inlinely. They are not working as the block tags.One of the example of this tag is strong tag.Words within a sentence or paragraph can be made bold with the strong tag like so:
<p>
One word in this sentence will be bold <strong> guess</strong> which one?
</p>
Did you pick "guess"? Then you passed the grade, give yourself a pat on the back. Here the “guess” will become bold while the other sentence will be normal.
Italicized words are made by enclosing them in em tags:
<em>Your text here</em>
The strong and em tags belong to a group of tags known as “inline” tags, Inline tags don’t force text to start on a separate line the way block tags do. They can be used together to make text both bold and italicized:
<strong> <em>Your text here</em></strong>
It doesn’t matter that which tag is used first but it is important to note that when using combination of tags with their corresponding closing tag should be listed in the correct order, if the order starts with the opening em tag, it should end with the closing em tag, for example:
this is correct - <em><strong>text here</strong></em>
this is not correct - <em><strong>text here</em></strong>

Inline Tag Information video:



Another inline tag is the span tag:
<span></span>

The span tag alone doesn’t do anything but when it is combined with CSS then it can change the appearance of text within a sentence.

Previous
Next Post »