In HTML, we can represent programming code, variables, keyboard input, and system responses using special tags.
Hello Page
Hello, World!
#include <stdio.h>
int main() {
printf("Hello, World!\n");
return 0;
}
console.log("Hello, World!");
alert("Hello, World!");
To copy text: Ctrl + C
To paste text: Ctrl + V
To undo action: Ctrl + Z
Area of Rectangle = l × w
Speed = distance / time
Example 1:
Input: 10 + 20
Output: 30
Example 2:
Command: ls
Output: file1.txt file2.txt code.js