HTML Span

<span> tag provides an additional structure to HTML document. It is used to group and apply styles to inline elements.

Span Breakdown

Here is the breakdown of HTML Span.

Span Example

Below example will demonstrate the basic architecture of HTML Span.

<!doctype html>  
<html>
 
    <head> 
        <title>Span Example</title> 
    </head>
  
    <body> 
        <span>You can learn programming languages from PHPDocs.</span>
    </body>

</html>