<!DOCTYPE html>
<html>
<head>
<base href=”” target=”_blank”>
</head>
<body>
<h1>The base element</h1>
<p><img src=”images/stickman.gif” width=”24″ height=”39″ alt=”Stickman”> – Notice that we have only specified a relative address for the image. Since we have specified a base URL in the head section, the browser will look for the image at “https://www.w3schools.com/images/stickman.gif”.</p>
<p><a href=”tags/tag_base.asp”>HTML base tag</a> – Notice that the link opens in a new window, even if it has no target=”_blank” attribute. This is because the target attribute of the base element is set to “_blank”.</p>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<style>
#myHeader {
background-color: lightblue;
color: black;
padding: 40px;
text-align: center;
}
</style>
</head>
<body>
<h2>The id Attribute</h2>
<p>Use CSS to style an element with the id “myHeader”:</p>
<h1 id=”myHeader”>My Header</h1>
</body>
</html>