Html 5 Span Tag

In the html5 <span> tag is used to group inline content at html page and it will not automatically visual change and you can manage to format from css. In the main difference between the <span> tag and <div> tag, in the <span> tag is group content and <div> tag is block level content.

Syntax:

<span>
   Contents
</span>

Example Code

<span>
PHP Hypertext Preprocessor is a web development dynamic web scripting programing language which can embedded into the HTML and interacts with databases.
</span>

Out Put:



PHP Hypertext Preprocessor is a web development dynamic web scripting programing language which can embedded into the HTML and interacts with databases.

In the above example <span> tag has been added to "What is php content ?".





Content