Posts

Showing posts from November, 2022

HTML ( LIST , TABLE & FORMS )

LIST , COMMAND <!DOCTYPE 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>HTML LIST</title> </head> <body> <ul>    <ul type="circle">          type , command =" circle"   use for every line of the list     <li>Home</li>     <li>About</li>     <li>Services</li>     <li>Contacts</li>   </ul>   <oll>    <ol type="I">           if type="capital i "  resulted romin counting display on every line     <li>Home</li>     <li>About</li>     <li>Services</li>   ...

HTML ( SECTION , BLOCK & INLINE Elements list) ( DIV , & SPAN Commands)

Here are the block-level elements in HTML: < address > < article > < aside > < blockquote > < canvas > < dd > < div > < dl > < dt > < fieldset > < figcaption > < figure > < footer > < form > < h1 > - < h6 > < header > < hr > < li > < main > < nav > < noscript > < ol > < p > < pre > < section > < table > < tfoot > < ul > < video > Inline Elements An inline element does not start on a new line. An inline element only takes up as much width as necessary. This is  a <span> element inside  a paragraph. Example < span > Hello World < /span > Try it Yourself » Here are the inline elements in HTML: < a > < abbr > < acronym > < b > < bdo > < big > < br > < button > < cite > < code > < dfn > < em > < i > < img ...

HTML ( DIV & SPAN ) commands

 DIV : Is an example of block eliment SPAN: is an example of inline eliment < section >             < div >                 < h1 > why love HTML </ h1 >                 < p > Lorem ipsum dolor sit amet consectetur, adipisicing elit. Accusantium neque omnis maxime ipsum expedita rerum autem molestias reiciendis molestiae voluptates deserunt architecto earum consequuntur dolor debitis esse accusamus, officiis soluta enim dolorum exercitationem alias ducimus! Odio accusantium unde, ad quas dolores voluptas totam tempore atque iste itaque, ducimus commodi nulla.                 </ p >                 <!-- div is an example of block eliment -->             </ div >             < div > ...

HTML ( HEADER , MAIN , FOOTER ) command uses

 Header & Footer is not imp[ortant but MAIN command is very important   < meta charset = "UTF-8" >     < meta http-equiv = "X-UA-Compatible" content = "IE=edge" >     < meta name = "viewport" content = "width=header, initial-scale=1.0" >     < title > chapter3 </ title > </ head > < body >     < header >         this is header     </ header >     < main >         < p > this is the main content </ p >     </ main >     < footer >          this is footer     </ footer >     </ body > </ html >

HTML ( for hide any words from web )

 PRESS CTRL+/ (slash) <!-- bold itlic underline -->

HTML ( BOLD , ITALIC , UNDERLINE )

 <b>this is bold</b>   <br>   <i>this is italic</i>   <br>   <u>this is underline</u>   <br>   <big>this is big</big>   <br> <br> command use for line by line words

HTML (use for any code rander on web page)

 <pre>          It is simple in python programming to display calendar. To do so, you need to import the calendar module which comes with Python.     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>  

HTML ( subscript and superscript )

 <!-- subscript and superscript --> (subscript for use any special equetion as  co2(corban dai oxide) in properly )     <p>CO <sub>2</sub></p> ( superscript for use any special equetion as ax2+bx+c (math terms) in properly )     <p>a <sup>2</sup> +bx+c</p> (for chemical reaction show on web page  , &rarr; (use for errow simble)      <p>c+o<sub>2</sub> &rarr; co<sub>2</sub></p>

HTML ( for horizantal line full page for specific area )

    <hr>

HTML Meta Tag (For Add Any Website URI)

 <a href="https://codewithharry.com">click here to go sheraz website</a> use attribute for URL open in a new WINDOW   < a href = "https://codingwithsheraz.blogspot.com/" target = "main" > sheraz website </ a > use a click able image < a href = "https://codingwithsheraz.blogspot.com/" target = "main" >         < img src = "nature beautiii" alt = "sheraz website" width = "123" >     </ a >

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=" ...