Lists: Lists are commonly used to display the items one after the other instead of using <br> tags.They are of two types- Unordered lists Ordered lists Unordered lists: Unordered lists are used when a set of items can be placed in any order. These lists use a pair of <ul> tags and each element in the list use pair of <li> tags. If we write this code, the page appears to be... We can change the type of bullet i.e.,square, circle etc. by using type attribute in <ul> tag. If we write this code, the page appears to be... Ordered lists: Ordered lists are used when a set of items that need to be placed in a specific order. These lists use a pair of <ol> tags and each element in the list use pair of <li> tags. If we write this code, the page appears to be... ...
Comments: Comments are a part of code that helps the coder and the user to know what is what, to indicate the sections of a document and improves the readability of the document. HTML comments are placed between <!--...............--> tags. Comments are not displayed and are completely ignored by the browser. HTML also supports multi-line comments. If we write this code, the page appears to be...
Classes: The class attribute is used to point a class in a style sheet.It specifies one or more class names for an element.It is used to set the same styles to different elements with same class name. If we write this code, the page appears to be...
Comments
Post a Comment