How to Use the em Tag to Italicize Text

Tell us what’s happening:
Help I don’t know what to do

Your code so far

h4 {
  text-align: center;
  height: 25px;
p {
  text-align: justify;
.links {
  text-align: left;
  color: black;
.fullCard {
  width: 245px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin: 10px 5px;
  padding: 4px;
.cardContent {
  padding: 10px;
.cardText {
  margin-bottom: 30px;
style: italic;
<div class="fullCard">
<div class="cardContent">
  <div class="cardText">
    <p id=em>Google was founded by Larry Page and Sergey Brin while they were <u>Ph.D. students</u> at <strong>Stanford University</strong>.</p>
  <div class="cardLinks">
    <a href="" target="_blank" class="links">Larry Page</a><br><br>
    <a href="" target="_blank" class="links">Sergey Brin</a>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36.

Challenge: Use the em Tag to Italicize Text

Link to the challenge:

1 Like

Remember to wrap the contents of the p tag with em tags, but not around the p tag itself.

1 Like

Hello @Anchor ! As the challenge implies it is a “tag”. That means you would use it just have you’ve done with every other “tag” in html.

<b>text is bold</b>

To clarify, do not assign it as an ‘id’.


Thanks, I already pass the challenge

1 Like