C Books Guide and List
C++ Books Guide and List
Best Java Books

3,749 questions

4,049 answers

114 comments

10,705 users

How to use <samp> tag?

0 votes
24 views
asked by rock Expert (14,990 points)

1 Answer

0 votes
This element displays text in a monospaced or fixed-width font. It is typically used to display code samples.
Example

<html>
<body>
     <p>
          You can apply the
          <samp>style</samp>
          attribute to nearly any element.
     </p>
</body>
</html>
answered by smith Geek (15,340 points)

Related questions

0 votes
1 answer 42 views
42 views asked by rock Expert (14,990 points)
0 votes
1 answer 33 views
33 views asked by rock Expert (14,990 points)
0 votes
1 answer 31 views
31 views asked by rock Expert (14,990 points)
0 votes
1 answer 28 views
28 views asked by smith Geek (15,340 points)
0 votes
1 answer 30 views
30 views asked by smith Geek (15,340 points)
...