HTML Output - Useful Tips
*You cannot be sure how HTML will be displayed. Large or small screens, and resized windows will create different results.
*With HTML, you cannot change the output by adding extra spaces or extra lines in your HTML code.
*The browser will remove extra spaces and extra lines when the page is displayed. Any number of lines count as one space, and any number of spaces count as one space.
Try it yourself (The example demonstrates some HTML formatting problems)
*You cannot be sure how HTML will be displayed. Large or small screens, and resized windows will create different results.
*With HTML, you cannot change the output by adding extra spaces or extra lines in your HTML code.
*The browser will remove extra spaces and extra lines when the page is displayed. Any number of lines count as one space, and any number of spaces count as one space.
Try it yourself (The example demonstrates some HTML formatting problems)
*This example demonstrates how HTML paragraphs are displayed in a browser.
Line breaks
Line breaks
*This example demonstrates the use of line breaks in an HTML document.
Horizontal rule
Horizontal rule
*This example demonstrates how to insert a horizontal rule.
Poem problems
Poem problems
*This example demonstrates some problems with HTML formatting.
More Examples
More paragraphs
More paragraphs
*This example demonstrates some of the default behaviors of paragraph elements.
HTML Tag Reference
*When you lookup W3Schools' tag reference, you will see additional information about tags and their attributes.
*You will learn more about HTML tag attributes in the next chapters of this tutorial.
*When you lookup W3Schools' tag reference, you will see additional information about tags and their attributes.
*You will learn more about HTML tag attributes in the next chapters of this tutorial.
HTML Text Formatting
*This text is bold
*This text is big
*This text is italic
*This is computer output
*This is subscript and superscript
*This text is bold
*This text is big
*This text is italic
*This is computer output
*This is subscript and superscript
HTML Formatting Tags
*HTML uses tags like and for formatting output, like bold or italic text.
*These HTML tags are called formatting tags.
*Refer to the bottom of this page for a complete reference.
*HTML uses tags like and for formatting output, like bold or italic text.
*These HTML tags are called formatting tags.
*Refer to the bottom of this page for a complete reference.
*This example demonstrates how you can format text in an HTML document.
Preformatted text
Preformatted text
*This example demonstrates how you can control the line breaks and spaces with the pre tag.
"Computer output" tags
"Computer output" tags
*This example demonstrates how different "computer output" tags will be displayed.
Address
Address
*This example demonstrates how to write an address in an HTML document.
Abbreviations and acronyms
Abbreviations and acronyms
*This example demonstrates how to handle an abbreviation or an acronym.
Text direction
Text direction
*This example demonstrates how to change the text direction.
Quotations
Quotations
*This example demonstrates how to handle long and short quotations.
Deleted and inserted text
Deleted and inserted text
*This example demonstrates how to mark a text that is deleted or inserted to a document.
No comments:
Post a Comment