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> ...
Follow the following steps to save you html filed As we installed notepad ++ (we will use same install file for the whole html learning in the blog) If you have not install notepad ++ To lean to install ClickHere Step 1: Click on file and save as show in the figure below: Step 2:- After you click file >save you will get following windows : As show in the above picture:- First select the folder when you want to save you project work. second give name to you file ( i.e. your_file_name.html) extension is required as the .html browser doesn't understand .txt file (if you save you file with .txt format the code will be display as you wrote in the notepad ++) First image saved file as text second image display of the text file in browser ...
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 ...
Comments
Post a Comment