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

How to create a menu in HTML?

1 Answer

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

<!DOCTYPE html>

<html>

<head>

<meta name="viewport" content="width=device-width, initial-scale=1">

<style>

div {

  width: 35px;

  height: 5px;

  background-color: black;

  margin: 6px 0;

}

</style>

</head>

<body>

  

<p>Menu icon:</p>

  

<div></div>

<div></div>

<div></div>

  

</body>

</html>

Related questions

0 votes
1 answer 108 views
asked Jun 24, 2023 in HTML by Doubtly (98.9k points)
0 votes
1 answer 86 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 106 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 116 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 92 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 100 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k 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

535 users

...