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.
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 ...
<body> tag:- The <body> tag defines the document's body. The <body> element contains all the contents of an HTML document, such as text, hyperlinks, images, tables, lists, etc. Attribute used in <body> tag:- Attribute Description BGCOLOR Specifies the background color of a document BACKGROUND Specifies a background image for a document TEXT Specifies the color of the text in a document LINK Specifies the color of un visited links in a document VLINK Specifies the color of visited links in a document ALINK Specifies the color of an active link in a document Example:- <html> <head> <title>Index </title> <head> <body bgcolor="lightblue" text="black"> <body> </html> Here is an screen capture of the example:- To Download the Example Html File:- ClickHere
Comments
Post a Comment