Previous | Next
Full View
Contents of Em or Emphasis Tag/Attribute
Em or Emphasis Tag/Attribute
- The Bold and Strong tags have been deprecated in favour of the EM tag which is more flexible. As with typical digital documents, don't overdue the formatting. Also note that on-screen, italics are very difficult to read and the use of the EM tag is preferable. You don't need to replicate print on-screen, you need to make the content readable, accessible and usable to your audience.
- /*this makes the selected text a specific font, size, colour, background colour and alignment.*/<br />EM{font-family: x;<br /> font-size: x;<br /> color: x;<br /> background: x;<br /> align: x}
- Where "x" is the value you insert. By default, EM tags create italicized text, but using CSS, you can turn this off so that the text is normal . You can tell the CSS to bold the text which then gives you the equivalent of what was bold or strong.
Copyright Karen McCall, Karlen Communications
27