Skip to content
Forum Navigation
You need to log in to create posts and topics.

Code Elements Of HTML

Code Elements Of HTML:

 

Code Example:

var person = {
    firstName:"John",
    lastName:"Doe",
    age:50,
    eyeColor:"blue"
}

 

 

Keyboard Formatting Tag:

<p>Open file, Select:</p>
<p><kbd>File | Open...</kbd></p>

Sample Formatting Tag:

<samp>
demo.example.com login: Apr 08 03:03:27
Linux 2.6.10-grsec+gg3+e+fhs6b+nfs+gr0501+++p3+c4a+gr2b-reslog-v6.189
</samp>

Code Formatting Tag:

<code>
var person = { firstName:"ABC", lastName:"XYZ", age:***, eyeColor:"Any" }
</code>

Variable Formatting Tag:

<p>Einstein wrote:</p>
<p><var>E = m c<sup>2</sup></var></p>

Suniti Singh has reacted to this post.
Suniti Singh