HTML Magic

Welcome to my Blog

  •   Click on Red button the text will turn into Red color

  •   Click on Green button the text will turn into Green color

Here is the HTML syntax for you .

<h1 id=msg1>Welcome to my Blog</h1>
<input type="button" value="Red" onClick="'red' "  />
<input type="button" value="Green" onClick="'green' " />

No comments:

Post a Comment

Thanks for visiting my Blog!

Have a Question ? Need Help in College Assignments, Need Code that is not available here? Just leave a comment & get your code instantly.

Tips to Enhance Your Blog