0 votes
135 views
in HTML by (3.5k points)
edited

How to create a popup in html with CSS?

1 Answer

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

<div class="popup" onclick="myFunction()">Click me!

  <span class="popuptext" id="NewPopup">Your text</span>

</div>

Related questions

0 votes
1 answer 116 views
asked Jun 12, 2023 in HTML by radhe (2.2k points)
0 votes
1 answer 138 views
asked Jun 24, 2023 in HTML by Doubtly (98.9k points)
0 votes
1 answer 110 views
0 votes
1 answer 149 views
0 votes
1 answer 106 views
0 votes
1 answer 146 views
asked Jun 24, 2023 in HTML by Doubtly (98.9k points)

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

563 users

...