How to use the tags <em>, <code>, <strong>, <samp>, <kbd> and <var> HTML tags

1 Answer

0 votes
<!DOCTYPE html>
<html>
<body>

<em>Emphasized text</em><br />
<code>Computer code, example: i++ = --i * i++;</code><br />
<strong>Strong text</strong><br />
<samp>The Sample Output element</samp><br />
<kbd>Keyboard, example: Ctrl + c</kbd><br />
<var>Variable element, example: </var> <var>x</var> + <var>y</var>

</body>
</html>



 



answered Dec 30, 2018 by avibootz
edited Dec 30, 2018 by avibootz

Related questions

1 answer 235 views
1 answer 179 views
179 views asked Dec 2, 2018 by avibootz
1 answer 286 views
1 answer 299 views
1 answer 232 views
...