HTML BASIC CODING
OCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<!-- headind and paragaraph -->
<h1>Books for Reading</h1>
<h2>books for reading</h2>
<h3>books for reading</h3>
<p>there are many books for Reading</p>
<a href="https://codewithharry.com">click here to go harry website</a>
<hr>
<br>
image tag
<img src=" https://cdn.pixabay.com/photo/2015/04/23/22/00/tree-736885_960_720.jpg" alt="Beauty of Nature">
<br>
<img src="nature beautiii" alt=" width=" 480px">
<!-- bold atlic underline -->
<!-- press ctrl+slash / for not show any text on web -->
<b>this is bold</b>
<br>
<i>this is italic</i>
<br>
<u>this is underline</u>
<br>
<big>this is big</big>
<br>
<hr>
<small>this is small</small>
<br>
<hr>
<!-- subscript and superscript -->
<p>CO <sub>2</sub></p>
<p>a <sup>2</sup> +bx+c</p>
<p>c+o<sub>2</sub> → co<sub>2</sub></p>
<pre>
It is simple in python programming to display calendar. To do so, you need to import the calendar module which comes with <u> Python</u>.
import calendar
And then apply the syntax
(calendar.month(yy,mm))
See this example:
import calendar
# Enter the month and year
yy = int(input("Enter year: "))
mm = int(input("Enter month: "))
# display the calendar
print(calendar.month(yy,mm))
</pre>
</body>
</html
Comments
Post a Comment