Syntax of code tag in HTML

 Syntax of code tag in HTML


The <code> tag comes in pairs. 

The content is written between 

the opening (<code>) and closing (</code>) tags.


How to use < code > tag syntax in HTML

<html>

  <head>

    <title>Title of the document</title>

  </head>

  <body>

    <p>Ordinary text.</p>

    <code>Line of program code.</code>

    <p>Continuation of the ordinary text.</p>

  </body>

</html>

Comments

Last 7 Days

How to use referrerpolicy Attribute value ( no-referrer-when-downgrade ) with < iframe > tag in HTML ? with example

Smart contract code for Anyone can send coins to each other without a need for registering with a username and password with help of Ethereum keypair

Tag is used to create inline frame ?

what is solidity programming language ?

Write html code for student registration form ?

How to create timer in HTML ?