\n

This is the heading

\n

This is a paragraph in the body.

\n \n'; } else if (type == 'comments') { example_code = ''; } else if (type == 'links') { example_code = '\nFree web counters\n
\n\n\nFree web counters\n
'; } else if (type == 'styled_tags') { example_code = '\n\n

This is the styled paragraph.

'; } else if (type == 'styled_class') { example_code = '\n\n

This is the styled paragraph.

'; } else if (type == 'link_new_window') { example_code = '\n\nFree web counters'; } else if (type == 'image') { example_code = ''; } else if (type == 'image_with_attributes') { example_code = 'Boy and Tuba\nBoy and Tuba'; } else if (type == 'div') { example_code = '
\n This is the content in the first div.\n
\n
\n This is the content in the second div.\n
'; } else if (type == 'stylish_div') { example_code = '\n\n
\n This is the content of my stylish div. This is the content of my stylish div. This is the content of my stylish div. This is the content of my stylish div. \n

This is a paragraph in the div, notice how it is styled differently. Can you figure out how?

\n
'; } document.getElementById("code_display").innerHTML = example_code; document.getElementById("code_entry").value = example_code; }
Home      About Us      Bangali Culture      Cool Links      News      Download      Advertise      Contact Us

Learn HTML Code

Click below to see the code:
Basic HTML Elements
Paragraphs and Breaks
Ordered and Unordered Lists
Headings (1-6)
Simple Complete Web Page
Code Comments
Links
Image
Layers (DIV Tag)
HTML Attributes
Open Link in New Window
Image with Attributes
CSS (Cascading Style Sheets)
Adding Styles to HTML Tags
Using the "Class" Attribute
Fun With the DIV Tag
Enter your code here:
It will display here:

Just add some code to the left to see it displayed in this box. Have fun!

Learning HTML and web design is easy if you have some reference point to work with. That's why we built the "Learn HTML By Example" tool. It's easy to use, and there's a bunch of examples already built in. You just type in some HTML code in the middle box, and it immediately displays in the right box, exactly as it would look as a live web page. Note that you must have JavaScript enabled to use this tool. Below are just a few of the many uses we've found for this tool:

Learn HTML By Example is a free script supplied by www.Web-Design-Factory.net.
 
Copyrihgt © 2009 www.bangalibabu.com All rights reserved