Showing posts with label html. Show all posts
Showing posts with label html. Show all posts

31 December 2013

Open multiple link from single HTML link tag

javascript
Trick: You can open multiple links by single clicking the <a> tag (defines an anchor) using javascript code inside HTML. It is very simple. just include onclick() function and write inline javascript in its attribute.

(If you found this article useful then share with your friends.)

24 December 2013

Convert HTML code to show in post

Using HTML encoder Tool , you can show the code snippet inside a post .

For example: If you like to show a code snippet in a post, just copy the code and paste inside the text box in visual mode / Compose mode depending on your editor.

(If you found this article useful then share with your friends.)

21 December 2013

HTML encoder tool

Write your code you like to show in your post :

HTML Encoder:




(If you found this article useful then share with your friends.)

14 December 2013

How to open multiple links in iframes

In HTML , iframe tag is used as a nested browser inside a page where you can view another website without changing the page.

To open links to a targeted iframe in the same page , you need to use target attribute inside a tag .

Sample code :


<iframe height="200" name="frm" width="300"></iframe>
<br />
<a href="http://www.bdnews24.com/" target="frm">Bdnews24</a>
<br />
<a href="http://www.bangladesh-data.blogspot.com/" target="frm">Bangladesh blog</a>

Output may look like this:


iframe snapshot
snapshot



(If you found this article useful then share with your friends.)