The HTML <marquee> tag is used for scrolling piece of text or image displayed either horizontally across or vertically down your web site page depending on the settings.
Text formatting tags :- HTML also defines special elements for defining text with a special meaning. HTML uses elements like <b> and <i> for formatting output, like bold or italic text. <b> - Bold text <strong> - Important text <i> - Italic text <em> - Emphasized text <mark> - Marked text <small> - Small text <del> - Deleted text <ins> - Inserted text <sub> - Subscript text <sup> - Superscript text <u>- underline text Example:- <html> <head> <title>Index | HTML Text foramtting tags </title> <head> <body bgcolor="lightblue" text="black"> <!-- example of formatting tags --> <h2>Text formatting Tags</h2> <b> - Bold text</b><br> <strong> - Important text</strong><br> <i> - Italic text</i><br> <em> - Emphasized text</em><br> ...
Heading Tag <h1> to <h6>:- he <h1> to <h6> tags are used to define HTML headings. <h1> defines the most important heading. <h6> defines the least important heading. Syntax:- <heading number ALIGN="left | right | center">text here</heading number> <h1>This is heading 1</h1> <h2>This is heading 2</h2> <h3>This is heading 3</h3> <h4>This is heading 4</h4> <h5>This is heading 5</h5> <h6>This is heading 6</h6> Example:- <html> <head> <title>Index | HTML Heading </title> <head> <body bgcolor="lightblue" text="black"> <!-- pragraph tag--> <!-- heading is here --> <h1>Heading H1</h1> <!-- remember p tag keeps one line break itself as shown here--> <p>This program is free software; you can redistribute it and/or modify it under ...
help_file Download help_file to learn more on the html You get complete html file with code to help you with the practice To download help_file.rar CLICK HERE If you want to learn about extracting zip, rar file CLICK HERE
Comments
Post a Comment