Difference between revisions of "Sandbox:Code"

From NikkiWiki
Jump to navigation Jump to search
(Created page with "== TEXT == <syntaxhighlight lang="text"> *Hello!* Plaintext. ---Nicole Sharp </syntaxhighlight> == MOIN == <syntaxhighlight lang="moin"> == Hello! == Wikimedia MediaWiki. ~...")
 
Line 1: Line 1:
 +
== PRE ==
 +
 +
<pre>
 +
Preformatted text.
 +
</pre>
 +
 
== TEXT ==
 
== TEXT ==
  

Revision as of 2021-03-27T02:19:15

PRE

Preformatted text.

TEXT

*Hello!*
Plaintext.
---Nicole Sharp

MOIN

== Hello! ==
Wikimedia MediaWiki.
~~~~
<!-- Nicole Sharp -->

HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
</head>
<body>
<h1>Hello!</h1>
<p>Hypertext markup language.</p>
<!-- Nicole Sharp -->
</body>
</html>

XML

<?xml version="1.0" encoding="utf-8"?>
<hello>
<text>Extensible markup language.</text>
<!-- Nicole Sharp -->
</hello>

CSS

.css { color: black; }
#hello { background-color: white; }
/* Nicole Sharp */

JS

document.write("Hello!");
/* Nicole Sharp */

PHP

<?php
echo "Hello!";
# Nicole Sharp
?>

APACHE

RewriteEngine On
# Nicole Sharp

MMA

"Hello!" $
/* Nicole Sharp */ $

CONSOLE

echo "Hello!"
# Nicole Sharp

DOSCON

echo "Hello!"
: Nicole Sharp

POSH

echo "Hello!"
# Nicole Sharp