Lecture 3 In this lecture I study about tags which are used in html. Bold: To do text bold in html. we use tags <b> </b>. For example <b> Hello World </b>. Hello World Italic: To do text italic in html.we use tags <i> </i>. For example <i> Hello World < /i>. Hello World Underline: To place line under any text. we use tags <u> </u>. For example <u> Hello World </u> Hello World Strike: To use Strike tag in html for unimportant and inaccurate text. For example <strike> 100 </strike>. 100 How to create random paragraph in html? We use "lorem" keyword to create random paragraph in html. How to use ? <p> lorem <p>. To keep paragraph on one page: To keep paragraph on one page in html we use "Alt+Z" keyword. Superscript and Subscript in html We use superscript a...
Lecture 4 How to create Boilerplate Automatically in html? To create boilerplate automatically in html. "Shift + 1" keyword is used. How to change color in html? <font></font> tags are used to change color in html. In font tag color attribute are used. How to use Font tag with color attribute? <font color="purple"> Hello World </font>. Hello World Difference between tags and attribute? Tags are used to hold the html element and attributes add additional information in tags.We can apply multiple attribute in tags. How to change size in html? To change size in html <font></font> tag with size attribute. How to use Font tag with size attribute? <font size="100">Pakistan</font>. Pakistan. How to change writing style in html? The style of the writing is changed by using font tag with face attribute. How to use? To use font tag with face attribute we can change writing style. <font face=" Georgia ...
CSS Properties In this lecture we will study about properties of CSS, that define how HTML element should be displayed on web-page and how we make our web-page layout defined and manageable. Here are some CSS properties: border: It is used for defining the border around the element. syntax: border: 5px solid black; border-width: It is used for setting width of the border around the element. Syntax: border-width: 10px; border-style: It is used for setting style of border, in which style the border will appear. Syntax: border-style:solid; border-color: It is used for changing the color of the border around the HTML element. syntax: border-color: 5px solid black; border-radius: It is used for making border corners round, giving them round shape.You can make any side of the border round just by assigning the exact position. Syntax: border-radius: 39px; You can gradually increase the value according to your preference. Width and Height: T...
Comments
Post a Comment