Ví dụ HTML:
<!DOCTYPE html>
<html>
<title>HTML Tutorial</title>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
Ví dụ CSS:
body {
background-color: lightblue;
}
h1 {
color: white;
text-align: center;
}
Ví dụ JavaScript:
<button onclick=”myFunction()”>Click Me!</button>
<script>
function myFunction() {
var x = document.getElementById(“demo”);
x.style.fontSize = “25px”;
x.style.color = “red”;
}
</script>
Ví dụ Python:
if 5 > 2:
print(“Five is greater than two!”)‘
Ví dụ SQL:
SELECT * FROM Customers
WHERE Country=‘Mexico’;