samp HTML: Main Tips
- The 
<samp>tags define the HTML sample element. - You should use it to convey that some inline text represents output from a computer script.
 - HTML 
samptag doesn't have any specific attributes, but supports global attributes in HTML. - You cannot omit the ending tag.
 
Using <samp> Tags
HTML <samp> tags surround inline text that represents computer output:
That's why it's commonly used for technical documentation to specify the output (i.e. an error message).
You can also use samp HTML tag together with kbd tag to specify that the computer outputs the text which was entered by a user (i.e. to show how terminal messages in Linux, macOS or Windows might look) or to represent the onscreen input options. You can read more about it here.
For the styling of HTML sample element, most browsers choose their default monospaced font (i.e., Courier).
  Pros   Main Features    
 - Easy to use with a learn-by-doing approach
 - Offers quality content
 - Gamified in-browser coding experience
 - The price matches the quality
 - Suitable for learners ranging from beginner to advanced
 
- Free certificates of completion
 - Focused on data science skills
 - Flexible learning timetable
 
  Pros   Main Features    
 - Simplistic design (no unnecessary information)
 - High-quality courses (even the free ones)
 - Variety of features
 
- Nanodegree programs
 - Suitable for enterprises
 - Paid Certificates of completion
 
  Pros   Main Features    
 - A wide range of learning programs
 - University-level courses
 - Easy to navigate
 - Verified certificates
 - Free learning track available
 
- University-level courses
 - Suitable for enterprises
 - Verified certificates of completion
 
Default CSS Settings
Most browsers use these settings by default for code in samp HTML tags:
Tip: learn to add additional CSS modifications in the CSS fonts tutorial.
Browser Support
 Chrome
  All  
 
 Edge
  All  
 
 Firefox
  1+  
 
 IE
  All  
 
 Opera
  All  
 
 Safari
  All  
 Mobile Browser Support
 Chrome
  All  
 
 Firefox
  4+  
 
 Opera
  All  
 
 Safari
  All