If you are really interested to learn or test a HTML script, then here are the steps. There are plenty of tools to create webpages using HTML codes. But I am going to give you the most simple tool to learn HTML.The tool, you will need to use a text editor like “Notepad (for Windows).”

Steps to Create a Webpage in HTML using Notepad:

  1. Open Notepad
  2. Create a New Document (copy and paste the Code given below)
  3. Save File in HTML
  4. View the saved File in Web browser

The Output

Snow

The Code

<html>
<head>
<style>
.container {
  position: relative;
  width: 100%;
  max-width: 400px;
}
.container img {
  width: 100%;
  height: auto;
}
.container .btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  background-color: yellow;
  color: black;
  font-size: 16px;
  padding: 16px 30px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  text-align: center;
}
.container .btn:hover {
  background-color: red;
  color: white;
}
</style>
</head>
<body>
<div class="container">
  <img src="https://webofonlineresources.com/wp-content/uploads/2020/07/road-.jpg" alt="Snow" style="width:100%">
  <button class="btn">Button</button>
</div>
</body>
</html>