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.
<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
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
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