HTML & CSS, WEB

Regular Expressions in HTML

In HTML5 there is a new input field attribute called pattern. This attribute specifies a regular expression that the <input> element’s value is checked against. The pattern attribute is available for text, search, url, tel, email, and password field. If you would like to describe the pattern, to help the user fill the field correctly …

HTML & CSS, WEB

HTML5 input placeholder attribute

If you would like to use the placeholder attribute, a new feature of HTML5, add the placeholder=”blahblah” in your html code. Example: 1 <input type="text" name="firstname" placeholder="Your First Name"/><input type="text" name="firstname" placeholder="Your First Name"/> Give it a try! Warning: This feature is supported in Firefox, Opera, Chrome and Safari.

NMAP

Identifying the version number of running services

If you wish to identify the software Version (-sV flag) of services running on machine’s open ports, just provide the -sV flag to nmap. Type the command: nmap -sV x.x.x.x where x.x.x.x is the ip address that you wish to scan.   You will get an answer similar to this: Starting Nmap 5.21 ( http://nmap.org …