Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
1.4 kB
32
Indexable
Never
<!DOCTYPE html> <!-- this tells that this document is html5 document-->



<html> <!-- this is root element-->

<head> <!-- this is head -->
	<title>this is website title that shows on tab bar</title>

	<style>
		h1{
			background-color: red;
			font-size: 50px;
			font-weight: bold;
			font-family: Arial;

		}

		.lasth1{
			background-color: black;
			color: white;
			text-align: center;
		}

		#idh1{
			background-color: yellow;
			font-family: monospace;
		}
	</style>

</head>


<body>
	<h1 class="lasth1"> This is H1 Element 1</h1> 
	<h1 id="idh1"> This is H1 Element 2</h1> 
	<h1 style="background-color: blue;" class="" id=""> This is H1 Element 2</h1> 
	<h1> This is H1 Element 2</h1> 
	<h1> This is H1 Element 2</h1> 
	<h1 class="lasth1"> This is H1 Element 2</h1> 

	<!-- style is common attribute for most of the html element called "inline style" -->

<iframe src="https://www.google.co.in" width="100%" height="500px" style="border: 2px solid red;"></iframe>
  go to pyament page


<a href="https://www.theverge.com/2021/4/12/22379880/artificial-intelligence-cat-photos-gan" target="_blank">

 <img src="https://cdn.vox-cdn.com/thumbor/_hG99efEkV_4gxrDmsbKGqN2U_o=/0x0:2560x1536/920x613/filters:focal(1076x564:1484x972):format(webp)/cdn.vox-cdn.com/uploads/chorus_image/image/69113629/fake_cats.0.jpg" /> 

  </a> 


</body>



</html>