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 …

NMAP

Discover other hosts on the LAN

Using nmap network tool is easy to discover other live hosts on the lan. If your ip address is something like this: 192.168.2.8 then the only thing you have to do to discover other hosts on the network is to type in your terminal the command: nmap -sP 192.168.2.0/24 and you get something like this: …