Choose Your Language

Monday, 30 November 2015

restrict to copy webpage content using CSS

restricttocopy.jsp

<%--
    Document   : restricttocopy
    Created on : Nov 30, 2015, 3:51:04 PM
    Author     : Aravind Sankaran Nair
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
        <style>
            #restricttocopy{
            -webkit-user-select: none;  
            -moz-user-select: none;     
            -ms-user-select: none;
            user-select: none;
            }
        </style>
    </head>
    <body id="restricttocopy">
        <h1>What is android</h1>
        <p>
Android is a Linux-based open source platform for mobile cellular handsets. Android was developed by Google and the Open Handset Alliance (OHA),
a coalition of hardware, software and telecommunications companies oriented towards advancing mobile telephony standards.
 </p>
  <p>
Android platform includes an operating system based upon Linux, a GUI, a Web browser and many other
applications considered key to a modern cellular handset. Android allows synchronization to a user's address book,
calendar and other personal information management (PIM) programs, though individual software makers will have to customize their offerings.
 </p>
 <p>
Android will allow users to browse the Internet more easily, integrate mapping services with local business listings and
use many other software features traditionally associated with personal computers rather than cellphones.
        </p>
    </body>
</html>

No comments:

Post a Comment