New Mail Window–Just a line of code

Very useful info

Manas Ranjan Dash

In most of the website you might have noticed, the contact us or contact me link at the end. Once you click that it will open a new mail window of your default mail client and it will have the mention subject and a mail id in the to box. So we can achieve that with the below line of code.

   1:<ahref="mailto:simplymanas@gmail.com?Subject=query">Contact Me</a>

 

in HTML5 I wrote this in the footer section in this way.

 

   1:<footer>&copy; simplymanas 2013

   2:<ahref="mailto:simplymanas@gmail.com?Subject=From BR">Contact Me</a>

   3:<ahref="http:\\www.twitter.com\simplymanas">@simplymanas</a>

   4:</footer>

 

and it will appear like this

© simplymanas 2013

Contact Me@simplymanas

 

This article was also published by me in

Beyond Relational

Quote of the Day:

No person was…

View original post 18 more words

Advertisements

Rich Features of HTML5

HTML5 features

Here the list of features that HTML5 supports:

  • Canvas (2D and 3D)
  • Cross-document messaging
  • Geolocation
  • Audio and Video
  • Forms
  • MathML
  • Microdata
  • Server-Sent events
  • Scalable Vector Graphics (SVG)
  • WebSocket API and protocol
  • Web origin concept
  • Web storage
  • Indexed database
  • Application Cache (Offline Web Apps)
  • Web Workers
  • Drag and Drop
  • XMLHttpRequest Level 2

 

 

HTML5 vision

Its vision is based on design principles of WHATWG specifications, that speaks of possibility and practicality.

  • Compatibility – Supporting of 20 years of HTML content is important, backward compatibility to say in simple terms.
  • Utility and the Priority of Constituencies — The specification values users over authors, over implementers (browsers), over specifiers (W3C/WHATWG), and others.
  • Inter-operability — Simple is better. Simplify wherever possible like “A new, simplified DOCTYPE
  • Universal Access – Accessibility, Media Independence and Globalization.