0 votes
106 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 93 views
asked Jun 12, 2023 in HTML by radhe (2.2k points)
0 votes
1 answer 116 views
asked Jun 24, 2023 in HTML by Doubtly (98.9k points)
0 votes
1 answer 85 views
0 votes
1 answer 129 views
0 votes
1 answer 75 views
0 votes
1 answer 122 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

537 users

...