Monday, June 20, 2011

Learn CSS, HTML and JavaScript Offline! using MBT HTML Editor

MBT-HTML-Editor The biggest problem faced by majority of newbie bloggers and web developers  is editing their templates. And the reason for this is lack of awareness with browser languages like CSS, XML, HTML, JavaScript etc. There are several websites online that have tutorials in these fields and one of such websites is www.w3schools.com This website is popular because it lets you play with the code! It has an Online HTML Editor Tool that lets you see live preview of the code that you use. Many developers find this tool pretty useful but has someone ever imagined that you can actually rip this tool out of w3schools and use it offline for practicing coding while offline? Well fortunately after some trial and error we could successfully create a similar tool entitled as “MBT HTML Editor” This is the first time all bloggers are having a chance to have fun playing with important codes like CSS, HTML and JavaScript and learn important coding in a more interesting way! Now you can actually test a code before adding them to blogger.
This tool is better than any other HTML Editor found online or available as a software, in the following ways,
  1. It works Offline in any browser available
  2. Takes less than a fraction of a second to show live preview
  3. Is equal in size to a peanut i.e 2.32 Kb
  4. Code is saved in browser if your PC shutdowns accidently 
  5. You can go back several times using Ctrl + Z and go forward using Ctrl + Y
  6. Can be used to test a code for Cross Browser Compatibility
  7. It is free of charge thanks to MBT! :D

Downloading Instructions

To Download MBT HTML Editor follow the steps below,
  • Click this link –> MBT HTML Editor
  • The MBT HTML Editor window will expand. Now you can start using it Online but to work offline in it you need to save it first. To save it click on the file menu at top-left-corner of your browser and then choose “Save As”  or “Save Page As”. Select a safe location and hit enter, as shown below,
downloading-html-editor

  • Done!
Troubleshoot:- In IE a Security alert will appear, ignore it by right clicking on it and then selecting Allow Blocked Content

Instructions For Using MBT HTML EDITOR

This tool consists of two panes i.e left pane and right pane. See a screen shot below,
 html-editor-instructions

The left pane is the area where you add your code and the right pane is the area responsible for displaying a visual view of the code. The CSS code is added just between <style> and </style>  and the HTML code is added just below </style>

Playing With A Code

Lets now play with a code using our HTML Editor. I am using the Image Opacity Effect Trick here as an example.
The CSS code for Opacity Effect looks like this,


img {
filter:alpha(opacity=100);
-moz-opacity: 1.0;
opacity: 1.0;
border:0;
}
img:hover {
filter:alpha(opacity=30);
-moz-opacity: 0.30;
opacity: 0.30;
border:0;
}
Now to apply this effect to an image we will need an HTML code as shared below,
<img  class="Fadein"  src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMMj-BzrdAwJGf61ym3aBR9HfeQMNg35w__h-sHf-rdPU4H93lWQ9wQF49Hzg6AYPlHM1sHXETfVXJ3CS_Eaujid_HhFHggp8BYI6sP8kaY69Jz_puJwUF8tmI9hwisoavwS69Oq3gCS47/s400/DIGG.png">
Now The best part, add the CSS code just between <style> and </style>  and the HTML code just below </style>. Hit the Preview button and watch the dancing code in action in front of your eyes. You can now start the play!
See this screen shot,
MBT-HTML-EDITOR-DISPLAY
Some Important Tips:-
  • To go backward to previous changes, click Ctrl + Z
  • To go forward to last changes made, click Ctrl + Y
  • To get URL of an image saved in your hard drive suppose Drive F, open Firefox browser and simply type  F: in the address bar and hit enter. That drive will open and now simply browse to that image and right click on it and then click on Copy Link Location. Alas! you got the URL. Now use this URL wherever required during your offline code editing adventure.
  • Once you are happy with the code that you prepared then simply paste the CSS code just above ]]></b:skin> inside your blogger template and the HTML code where you want the effect to be seen i.e post or sidebar

Hope this Tool will be of great use to bloggers and web developers across the globe. I hope you may find it easy to better understand and learn browser languages and implement them to invent new codes with new creativities. Do let me know how useful you find it. We played our part and now its your turn to spread the message!
Note:-
I have also created a tool that lets you change special HTML Characters to Entities. It lets you add HTML code to your posts and comment section as I usually do. Hope you will like it too. You can have a look at it by click this link –> Change Special HTML Characters To Entities


All Rights Reserved GprsBay | Blogger Template by Bloggermint