InterviewSolution
| 1. |
Width is the attribute of which tag1 font tag2 BR tag3 HR tag4 B tag |
|
Answer» Explanation: 1-Not Supported in HTML5. The tag was used in HTML 4 to specify the font face, font size, and color of text. What to Use Instead? Example Set the color of text (with CSS): This is a paragraph. This is another paragraph. Example Set the font of text (with CSS): This is a paragraph. This is another paragraph. Example Set the size of text (with CSS): This is a paragraph. This is another paragraph. 2- Example Insert single line breaks in a text: To force Definition and Usage The The The Tips and Notes Note: Use the Example Use Be not afraid of greatness. Some are born great, some achieve greatness, and others have greatness thrust upon them. -William Shakespeare 3- Example Use the
HTML is the standard MARKUP language for creating Web pages. HTML describes the structure of a Web page, and consists of a series of elements. HTML elements tell the browser how to DISPLAY the content. CSS is a language that describes how HTML elements are to be displayed on screen, paper, or in other media. CSS saves a lot of work, because it can control the layout of multiple web pages all at once. JavaScript is the programming language of HTML and the Web. JavaScript can change HTML content and attribute values. JavaScript can change CSS. JavaScript can hide and show HTML elements, and more. Definition and Usage The The 4-HTML Tag Example Make some text bold (without marking it as important): This is normal text - and this is bold text. Definition and Usage The tag specifies bold text without any extra importance. Tips and Notes Note: ACCORDING to the HTML5 specification, the tag should be used as a LAST resort when no other tag is more appropriate. The specification states that headings should be denoted with the Tip: You can also use the following CSS to set bold text: "font-weight: bold;". lobal Attributes The tag also supports the Global Attributes in HTML. Event Attributes The tag also supports the Event Attributes in HTML. More Examples Example Use CSS to set bold text: This is normal text - and this is bold text. Related Pages HTML tutorial: HTML Text Formatting HTML DOM reference: Bold Object Default CSS Settings Most browsers will display the element with the following default values: Example b { font-weight: bold; } |
|