0 votes
123 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 107 views
asked Jun 12, 2023 in HTML by radhe (2.2k points)
0 votes
1 answer 132 views
asked Jun 24, 2023 in HTML by Doubtly (98.9k points)
0 votes
1 answer 102 views
0 votes
1 answer 143 views
0 votes
1 answer 101 views
0 votes
1 answer 138 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

559 users

...