There are 3 types of bullets style mostly used in un-ordered list Disc Circle Square <html> <head> <title>Un-ordered List</title> </head> <body> <ul type="square"> <li>Item 1</li> <li>Item 2</li> <li>Item 3</li> <li>Item 4</li> <li>Item 5</li> </ul> </body> </html> We can change value of type attribute to change bullet style of un-ordered list
There are six heading tags in HTML. We can use them according to requirement. <h1>Content 1</h1> <h2>Content 2 </h2> <h3>Content 3 </h3> <h4>Content 4 </h4> <h5>Content 5 </h5> <h6>Content 6 </h6> While H1 has Maximum Size and H6 has Minimum Size. Write down above code in TextEditor and Save File with (Dot) . Html extension to execute File in Browser.
Open Notepad in Computer or Laptop and write below Script <html> <head> <title>html</title> </head> <body> <h1>hello World</h1> </body> </html> above is simple program of html After write the above code save the code with any name and use dot( .html ) extension like hello.html after save the above code open with any browser
Comments
Post a Comment