HTML (9)
Logical Text Style
- <DFN> = For a word being defined (Displayed in Italics)
- <EM> = For emphasis (Displayed in italics)
- <CITE> = For titles of books, films, (Displayed in italics)
- <CODE> = For computer code (Displayed in fixed width)
- <KBD> = For user Keyboard entry ( Displayed in plain-width font)
- <SAMP> = For a sequence of literal character ( Displayed in fixed-width font)
- <STRONG> = For strong emphasis (Displayed in Bold)
- <VAR> = For a variable ( Displayed in Italics )
Example ↓↓↓↓↓↓
<html>
<head>
<title>My Page</title>
</head>
<body>
<p> Logical style Eg</p>
<DFN> HTML is used to design the pages.</DFN> <br>
<CITE> NewsWorld </CITE><br>
<SAMP> (Abort,Retry,Fail)?</SAMP><br>
<VAR> Username </VAR><br>
<EM> Especially the redhead.</EM><br>
<KBD> Username,Host</KBD><br>
<STRONG> You can't be serious </STRONG><br>
</body>
</html>
0 Comments