0 votes
73 views
in HTML by (2.2k points)
edited
How do you add text content to a card in HTML?

1 Answer

0 votes
by (98.9k points)
selected by
 
Best answer

Use HTML tags such as <h1>, <p>, <span>, etc., to add text content to a card. Here's an example:

 <div class="card">
<h3>Title</h3>
  <p>This is the card content.</p>
</div>

Related questions

0 votes
1 answer 117 views
asked Jun 12, 2023 in HTML by radhe (2.2k points)
0 votes
1 answer 74 views
asked Jun 12, 2023 in HTML by radhe (2.2k points)
0 votes
1 answer 71 views
0 votes
1 answer 94 views
0 votes
1 answer 133 views
0 votes
1 answer 85 views

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

537 users

...