Menu
Menu

HTML

Learn how to write cool HTML code!

How to clear html text box values

Posted in HTML, Web Design on April 21, 2017
Tags:

Here's what's happened to me recently. I have a form on a website with a textbox. I wanted to have predefined default text in the box (like 'Enter Your ID Number') but have it disappear when the cursor clicks the box. I originally used onFocus="clear_textbox()" but that stopped working. So I then changed it to Read More »

How to display newest comments first in a WordPress post

Posted in HTML, Wordpress and CMS on September 11, 2016
Tags: ,

new comments first in wordpress

The easiest way to display new comments first in a WordPress post is to change some discussion settings. Log into your WordPress admin Under "Settings" click on "Discussion" Under "Other Comment Settings" check the box in front of "Break comments into pages..." For the first drop down box select "first" and for the second drop Read More »