In HTML, we can represent programming code, variables, keyboard input, and system responses using special tags.
Code Example Keyboard Input Variables System MessagesHTML Program:
<html>
<body>
<p>Hello World</p>
</body>
</html>
C Program:
#include < stdio.h >
int main(){
printf("Hello World!!");
return 0;
}
JavaScript Program:
console.log("Hello World!!");
To Copy text:
Ctrl+cTo paste text:
Ctrl+vTo save a file:
Ctrl+sArea of Circle = pie * r2 (where r= radius of circle)
Speed = d / t (where d=distance , t=time)
Area of square = S2 (where S= side of square)
input : 10 + 20
output : 30
command :
output : list of files displayed here!!