span tag
<Span>
Explanation
Span tag is used to add styles to the text,
without inserting single line breaks in same line.
<span style="color:Color Name">Text</span>
Example Code:
Result :
Header 2
| Scripts |
Tutorials |
| PHP Script |
PHP Tutorial |
- It is most commonly used to add styles to the tables.
- It will not affect the contents in the table/document.
It is available in the previous versions of HTML.
It supports both
Global Attributes and
Event Attributes in HTML5.
Limitations:
It is applicable to all major browsers.