0 votes
121 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 104 views
asked Jun 12, 2023 in HTML by radhe (2.2k points)
0 votes
1 answer 131 views
asked Jun 24, 2023 in HTML by Doubtly (98.9k points)
0 votes
1 answer 99 views
0 votes
1 answer 140 views
0 votes
1 answer 94 views
0 votes
1 answer 136 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

554 users

...