What are the Computer Code Elements in HTML?
HTML code element is used for a fragment of computer code.
The HTML element define the fragment of computer code.Text surrounded by <code> tag is displayed in browser's default monospace font.
The code doesn't preserve any extra white space to fix this issue you can put it in <pre>.
<var> in HTML
It defines a variable in HTML.Variable van be a mathematical expression or programming content.
|<samp> in HTML|
It is used to represent the output in html.It is displayed in browser's monospace.
<kbd> in HTML
It is used for user input from keyboard or through command.
Computer Code Elements
Tech writer at newsandstory
Total 601 views