Code test

at-article

Monospace / Preformatted / Code

Code block wrapped in "pre" and "code" tags

// Loop through Divs using Javascript.
var divs = document.querySelectorAll('div'), i;

for (i = 0; i < divs.length; ++i) {
  divs[i].style.color = "green";
}

at-article in style

—

Style

Monospace / Preformatted / Code

Code block wrapped in "pre" and "code" tags

// Loop through Divs using Javascript.
var divs = document.querySelectorAll('div'), i;

for (i = 0; i < divs.length; ++i) {
  divs[i].style.color = "green";
}

Monospace Text wrapped in "pre" tags

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl.

Code with samp and kbd :

			 samp You are in an open field west of a big white house with a boarded
				front door.
				There is a small mailbox here.

				>  kbd open mailbox

				 sampOpening the mailbox reveals:
					A leaflet.

					>
				

Code with samp and kbd :

To make George eat an apple, select File|Eat Apple...

Code with code :

			
				#header h1 a {
					display: block;
					width: 300px;
					height: 80px;
				}
			
		

Code with samp and language :

			console.log(2.3 + 2.4)
			4.699999999999999