Most HTML text tags indicate style or structural information for inline elements (strings of characters within the flow of text). Inline style tags affect the appearance of the enclosed text without adding line breaks or extra space. Closing tags are required for inline style tags in order to "turn off" the style attribute.
HTML inline styles fall into two conceptual categories: logical (or "content-based") styles and physical styles. This distinction does not affect the way you use the tags in an HTML document. However, in the movement toward removing style information from content, revived by the introduction of style sheets, logical tags are more in keeping with the ideal HTML model.
Logical or content-based styles describe the enclosed text's meaning, context, or usage and leave the specific rendering of the tag to the discretion of the browser. Using logical tags, you may indicate that a selection of text should be emphasized or displayed as code.
Fortunately, browsers adhere to conventions for the display of logical styles; for instance, you can be pretty certain that emphasized text will be rendered in italics and code will appear in a monospaced font.
Table gives a list of logical inline style tags.
Table: Logical inline style tags
Physical styles provide specific display instructions, such as "italic" or "strike-through." Some physical styles affect the size of the text, such as "big" or "small." Several of these display-specific elements have been deprecated in favor of similar style sheet controls.
Table lists the available physical inline style tags with their uses.
Table: Physical inline style tags
Web Designing Related Interview Questions
|HTML Interview Questions||HTML 5 Interview Questions|
|Flash Interview Questions||Graphic Design Interview Questions|
|Illustrator Interview Questions||Dreamweaver Interview Questions|
|UI Developer Interview Questions||Dreamweaver CS3 Interview Questions|
|CSS Advanced Interview Questions||Web Developer Guide Interview Questions|
|Log Shipping Interview Questions||Spring Boot Interview Questions|
|UI Designer Interview Questions||Bootstrap 4 Interview Questions|
Web Designing Related Practice Tests
|HTML Practice Tests||HTML 5 Practice Tests|
|Flash Practice Tests||Graphic Design Practice Tests|
|Illustrator Practice Tests||Dreamweaver Practice Tests|
|UI Developer Practice Tests||Dreamweaver CS3 Practice Tests|
|Web Developer Guide Practice Tests||Advanced jQuery Practice Tests|
All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.