HTML <samp> tagHTML <samp> tag is a phrase tag which is used to represent the sample output from a computer program or a script, in the browser. The content written between the <samp> and </samp>, tags renders in a browser?s default monospace font. Note: The <samp> tag is not deprecated yet, but you can also use CSS property to achieve the same result.SyntaxFollowing are some specifications about the HTML <samp> tag
ExampleTest it NowOutput: ![]() Attribute:Tag-specific attributes:The <samp> tag does not contain any specific attribute. Global attribute:The <samp> tag supports the global attributes in HTML Event attribute:The <samp> tag supports the event attributes in HTML. Supporting Browsers
Next TopicHTML script Tag
|
JavaTpoint offers too many high quality services. Mail us on h[email protected], to get more information about given services.
JavaTpoint offers college campus training on Core Java, Advance Java, .Net, Android, Hadoop, PHP, Web Technology and Python. Please mail your requirement at [email protected].
Duration: 1 week to 2 week