Filter (Advanced Search)
Downloads
0
Views
237
Video

Video is not available... Embedded is previous playlist.

Details

An inline element does not start on a new line.

An inline element only takes up as much width as necessary.

This is a <span> element inside a paragraph.


<!DOCTYPE html>
<html>

<head>
<title>The inline element</title>
</head>
<body>

<p>This is an inline span <span style="border: 1px solid black">GSSS KHOKHAR</span> element inside a paragraph.</p>

<p>The SPAN element is an inline element, and will not start on a new line and only takes up as much width as necessary.</p>

</body>
</html>



Here are the inline elements in HTML:

<a>

<abbr>

<acronym>

<b>

<bdo>

<big>

<br>

<button>

<cite>

<code>

<dfn>

<em>

<i>

<img>

<input>

<kbd>

<label>

<map>

<object>

<output>

<q>

<samp>

<script>

<select>

<small>

<span>

<strong>

<sub>

<sup>

<textarea>

<time>

<tt>

<var>

Ad