Computer Code Reference Page

In HTML, we can represent programming code, variables, keyboard input, and system responses using special tags.

Code Examples

HTML


<html>
  <body>
    <p>Hello World</p>
  </body>
</html>
    

C


#include <stdio.h>

int main() {
  printf("Hello World\n");
  return 0;
}
    

JavaScript




  
    
  

    

Keyboard Input Examples

Common keyboard shortcuts:

Variables in Mathematics

We use to represent variables in equations:

System Messages

Sample program output:

Input: 5 + 10

Output: 15