Tuesday, December 03, 2019
Wednesday, November 20, 2019
Upload and insert excel data to mysql in php
Upload and insert excel data to MySql in PHP
If you want to upload an excel file and then after insert it's date to Mysql table then use below code. I am using PHPExcel library to read Excel data.
Download PHPExcel library here:
https://github.com/PHPOffice/PHPExcel
Direct link of PHPExcel library is:
https://github.com/PHPOffice/PHPExcel/archive/1.8.zip
Create a folder name "exfile", where we will store excel file.
upload.php code here:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<?php
require_once 'PHPExcel/Classes/PHPExcel.php';
if(isset($_FILES['myexcel'])){
$errors= array();
$file_name = $_FILES['myexcel']['name'];
$file_size =$_FILES['myexcel']['size'];
$file_tmp =$_FILES['myexcel']['tmp_name'];
$file_type=$_FILES['myexcel']['type'];
$targetPath = 'exfile/'.$_FILES['myexcel']['name'];
move_uploaded_file($file_tmp,$targetPath);
$conn = mysqli_connect("localhost","root","","mytest");
$objReader = PHPExcel_IOFactory::createReader('Excel2007');
$objReader->setReadDataOnly(true);
$objPHPExcel = $objReader->load( $targetPath);
$worksheet=$objPHPExcel->getActiveSheet();
$lastRow = $worksheet->getHighestRow();
$lastCol = $worksheet->getHighestColumn();
for ($row = 2; $row <= $lastRow; $row++) {
$class_nm=$worksheet->getCell("A".$row)->getValue();
$class_nm = mysqli_real_escape_string($conn,$class_nm);
$subject=$worksheet->getCell("B".$row)->getValue();
$batch=$worksheet->getCell("C".$row)->getValue();
$query = "insert into cl_nm(class_nm,subject,batch) values('".$class_nm."','".$subject."','".$batch."')";
$result = mysqli_query($conn, $query);
}
echo "Success";
}
?>
<form action="" method="POST" enctype="multipart/form-data">
<input type="file" name="myexcel" />
<input type="submit"/>
</form>
</body>
</html>
Download PHPExcel library here:
https://github.com/PHPOffice/PHPExcel
Direct link of PHPExcel library is:
https://github.com/PHPOffice/PHPExcel/archive/1.8.zip
Create a folder name "exfile", where we will store excel file.
upload.php code here:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<?php
require_once 'PHPExcel/Classes/PHPExcel.php';
if(isset($_FILES['myexcel'])){
$errors= array();
$file_name = $_FILES['myexcel']['name'];
$file_size =$_FILES['myexcel']['size'];
$file_tmp =$_FILES['myexcel']['tmp_name'];
$file_type=$_FILES['myexcel']['type'];
$targetPath = 'exfile/'.$_FILES['myexcel']['name'];
move_uploaded_file($file_tmp,$targetPath);
$conn = mysqli_connect("localhost","root","","mytest");
$objReader = PHPExcel_IOFactory::createReader('Excel2007');
$objReader->setReadDataOnly(true);
$objPHPExcel = $objReader->load( $targetPath);
$worksheet=$objPHPExcel->getActiveSheet();
$lastRow = $worksheet->getHighestRow();
$lastCol = $worksheet->getHighestColumn();
for ($row = 2; $row <= $lastRow; $row++) {
$class_nm=$worksheet->getCell("A".$row)->getValue();
$class_nm = mysqli_real_escape_string($conn,$class_nm);
$subject=$worksheet->getCell("B".$row)->getValue();
$batch=$worksheet->getCell("C".$row)->getValue();
$query = "insert into cl_nm(class_nm,subject,batch) values('".$class_nm."','".$subject."','".$batch."')";
$result = mysqli_query($conn, $query);
}
echo "Success";
}
?>
<form action="" method="POST" enctype="multipart/form-data">
<input type="file" name="myexcel" />
<input type="submit"/>
</form>
</body>
</html>
Simple responsive html email template
Simple responsive HTML email template
Here is the Simple responsive html email template code. use it.
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Simple responsive Email format</title>
<style>
img {
border: none;
-ms-interpolation-mode: bicubic;
max-width: 100%;
}
body {
background-color: #f6f6f6;
font-family: sans-serif;
-webkit-font-smoothing: antialiased;
font-size: 14px;
line-height: 1.4;
margin: 0;
padding: 0;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
table {
border-collapse: separate;
mso-table-lspace: 0pt;
mso-table-rspace: 0pt;
width: 100%; }
table td {
font-family: sans-serif;
font-size: 14px;
vertical-align: top;
}
.body {
background-color: #f6f6f6;
width: 100%;
}
.container {
display: block;
margin: 0 auto !important;
/* makes it centered */
max-width: 580px;
padding: 10px;
width: 580px;
}
.content {
box-sizing: border-box;
display: block;
margin: 0 auto;
max-width: 580px;
padding: 10px;
}
.main {
background: #ffffff;
border-radius: 3px;
width: 100%;
}
.wrapper {
box-sizing: border-box;
padding: 20px;
}
.content-block {
padding-bottom: 10px;
padding-top: 10px;
}
.footer {
clear: both;
margin-top: 10px;
text-align: center;
width: 100%;
}
.footer td,
.footer p,
.footer span,
.footer a {
color: #999999;
font-size: 12px;
text-align: center;
}
h1,
h2,
h3,
h4 {
color: #000000;
font-family: sans-serif;
font-weight: 400;
line-height: 1.4;
margin: 0;
margin-bottom: 30px;
}
h1 {
font-size: 35px;
font-weight: 300;
text-align: center;
text-transform: capitalize;
}
p,
ul,
ol {
font-family: sans-serif;
font-size: 14px;
font-weight: normal;
margin: 0;
margin-bottom: 15px;
}
p li,
ul li,
ol li {
list-style-position: inside;
margin-left: 5px;
}
a {
color: #3498db;
text-decoration: underline;
}
.btn {
box-sizing: border-box;
width: 100%; }
.btn > tbody > tr > td {
padding-bottom: 15px; }
.btn table {
width: auto;
}
.btn table td {
background-color: #ffffff;
border-radius: 5px;
text-align: center;
}
.btn a {
background-color: #ffffff;
border: solid 1px #3498db;
border-radius: 5px;
box-sizing: border-box;
color: #3498db;
cursor: pointer;
display: inline-block;
font-size: 14px;
font-weight: bold;
margin: 0;
padding: 12px 25px;
text-decoration: none;
text-transform: capitalize;
}
.btn-primary table td {
background-color: #3498db;
}
.btn-primary a {
background-color: #3498db;
border-color: #3498db;
color: #ffffff;
}
.last {
margin-bottom: 0;
}
.first {
margin-top: 0;
}
.align-center {
text-align: center;
}
.align-right {
text-align: right;
}
.align-left {
text-align: left;
}
.clear {
clear: both;
}
.mt0 {
margin-top: 0;
}
.mb0 {
margin-bottom: 0;
}
.preheader {
color: transparent;
display: none;
height: 0;
max-height: 0;
max-width: 0;
opacity: 0;
overflow: hidden;
mso-hide: all;
visibility: hidden;
width: 0;
}
.powered-by a {
text-decoration: none;
}
hr {
border: 0;
border-bottom: 1px solid #f6f6f6;
margin: 20px 0;
}
@media only screen and (max-width: 620px) {
table[class=body] h1 {
font-size: 28px !important;
margin-bottom: 10px !important;
}
table[class=body] p,
table[class=body] ul,
table[class=body] ol,
table[class=body] td,
table[class=body] span,
table[class=body] a {
font-size: 16px !important;
}
table[class=body] .wrapper,
table[class=body] .article {
padding: 10px !important;
}
table[class=body] .content {
padding: 0 !important;
}
table[class=body] .container {
padding: 0 !important;
width: 100% !important;
}
table[class=body] .main {
border-left-width: 0 !important;
border-radius: 0 !important;
border-right-width: 0 !important;
}
table[class=body] .btn table {
width: 100% !important;
}
table[class=body] .btn a {
width: 100% !important;
}
table[class=body] .img-responsive {
height: auto !important;
max-width: 100% !important;
width: auto !important;
}
}
@media all {
.ExternalClass {
width: 100%;
}
.ExternalClass,
.ExternalClass p,
.ExternalClass span,
.ExternalClass font,
.ExternalClass td,
.ExternalClass div {
line-height: 100%;
}
.apple-link a {
color: inherit !important;
font-family: inherit !important;
font-size: inherit !important;
font-weight: inherit !important;
line-height: inherit !important;
text-decoration: none !important;
}
#MessageViewBody a {
color: inherit;
text-decoration: none;
font-size: inherit;
font-family: inherit;
font-weight: inherit;
line-height: inherit;
}
.btn-primary table td:hover {
background-color: #34495e !important;
}
.btn-primary a:hover {
background-color: #34495e !important;
border-color: #34495e !important;
}
}
</style>
</head>
<body class="">
<span class="preheader">This is a preview.</span>
<table role="presentation" border="0" cellpadding="0" cellspacing="0" class="body">
<tr>
<td> </td>
<td class="container">
<div class="content">
<table role="presentation" class="main">
<!-- MAIN START -->
<tr>
<td class="wrapper">
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<p>Hello,</p>
<p>How are you? Hope doing good. This is the code for simple html email format.</p>
<table role="presentation" border="0" cellpadding="0" cellspacing="0" class="btn btn-primary">
<tbody>
<tr>
<td align="left">
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td> <a href="https://agalaxycode.blogspot.com" target="_blank">This is button</a> </td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<p>How are you? Hope doing good. This is the code for simple html email format.</p>
<p>Use it .</p>
</td>
</tr>
</table>
</td>
</tr>
<!-- MAIN END -->
</table>
<!-- FOOTER START HERE-->
<div class="footer">
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="content-block">
<span class="apple-link">Company Info herec, addres here</span>
<br> Unsubscribe matter <a href="https://agalaxycode.blogspot.com">Unsubscribe</a>.
</td>
</tr>
<tr>
<td class="content-block powered-by">
Powered by <a href="https://agalaxycode.blogspot.com">https://agalaxycode.blogspot.com</a>.
</td>
</tr>
</table>
</div>
<!-- FOOTER END HERE-->
</div>
</td>
<td> </td>
</tr>
</table>
</body>
</html>
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Simple responsive Email format</title>
<style>
img {
border: none;
-ms-interpolation-mode: bicubic;
max-width: 100%;
}
body {
background-color: #f6f6f6;
font-family: sans-serif;
-webkit-font-smoothing: antialiased;
font-size: 14px;
line-height: 1.4;
margin: 0;
padding: 0;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
table {
border-collapse: separate;
mso-table-lspace: 0pt;
mso-table-rspace: 0pt;
width: 100%; }
table td {
font-family: sans-serif;
font-size: 14px;
vertical-align: top;
}
.body {
background-color: #f6f6f6;
width: 100%;
}
.container {
display: block;
margin: 0 auto !important;
/* makes it centered */
max-width: 580px;
padding: 10px;
width: 580px;
}
.content {
box-sizing: border-box;
display: block;
margin: 0 auto;
max-width: 580px;
padding: 10px;
}
.main {
background: #ffffff;
border-radius: 3px;
width: 100%;
}
.wrapper {
box-sizing: border-box;
padding: 20px;
}
.content-block {
padding-bottom: 10px;
padding-top: 10px;
}
.footer {
clear: both;
margin-top: 10px;
text-align: center;
width: 100%;
}
.footer td,
.footer p,
.footer span,
.footer a {
color: #999999;
font-size: 12px;
text-align: center;
}
h1,
h2,
h3,
h4 {
color: #000000;
font-family: sans-serif;
font-weight: 400;
line-height: 1.4;
margin: 0;
margin-bottom: 30px;
}
h1 {
font-size: 35px;
font-weight: 300;
text-align: center;
text-transform: capitalize;
}
p,
ul,
ol {
font-family: sans-serif;
font-size: 14px;
font-weight: normal;
margin: 0;
margin-bottom: 15px;
}
p li,
ul li,
ol li {
list-style-position: inside;
margin-left: 5px;
}
a {
color: #3498db;
text-decoration: underline;
}
.btn {
box-sizing: border-box;
width: 100%; }
.btn > tbody > tr > td {
padding-bottom: 15px; }
.btn table {
width: auto;
}
.btn table td {
background-color: #ffffff;
border-radius: 5px;
text-align: center;
}
.btn a {
background-color: #ffffff;
border: solid 1px #3498db;
border-radius: 5px;
box-sizing: border-box;
color: #3498db;
cursor: pointer;
display: inline-block;
font-size: 14px;
font-weight: bold;
margin: 0;
padding: 12px 25px;
text-decoration: none;
text-transform: capitalize;
}
.btn-primary table td {
background-color: #3498db;
}
.btn-primary a {
background-color: #3498db;
border-color: #3498db;
color: #ffffff;
}
.last {
margin-bottom: 0;
}
.first {
margin-top: 0;
}
.align-center {
text-align: center;
}
.align-right {
text-align: right;
}
.align-left {
text-align: left;
}
.clear {
clear: both;
}
.mt0 {
margin-top: 0;
}
.mb0 {
margin-bottom: 0;
}
.preheader {
color: transparent;
display: none;
height: 0;
max-height: 0;
max-width: 0;
opacity: 0;
overflow: hidden;
mso-hide: all;
visibility: hidden;
width: 0;
}
.powered-by a {
text-decoration: none;
}
hr {
border: 0;
border-bottom: 1px solid #f6f6f6;
margin: 20px 0;
}
@media only screen and (max-width: 620px) {
table[class=body] h1 {
font-size: 28px !important;
margin-bottom: 10px !important;
}
table[class=body] p,
table[class=body] ul,
table[class=body] ol,
table[class=body] td,
table[class=body] span,
table[class=body] a {
font-size: 16px !important;
}
table[class=body] .wrapper,
table[class=body] .article {
padding: 10px !important;
}
table[class=body] .content {
padding: 0 !important;
}
table[class=body] .container {
padding: 0 !important;
width: 100% !important;
}
table[class=body] .main {
border-left-width: 0 !important;
border-radius: 0 !important;
border-right-width: 0 !important;
}
table[class=body] .btn table {
width: 100% !important;
}
table[class=body] .btn a {
width: 100% !important;
}
table[class=body] .img-responsive {
height: auto !important;
max-width: 100% !important;
width: auto !important;
}
}
@media all {
.ExternalClass {
width: 100%;
}
.ExternalClass,
.ExternalClass p,
.ExternalClass span,
.ExternalClass font,
.ExternalClass td,
.ExternalClass div {
line-height: 100%;
}
.apple-link a {
color: inherit !important;
font-family: inherit !important;
font-size: inherit !important;
font-weight: inherit !important;
line-height: inherit !important;
text-decoration: none !important;
}
#MessageViewBody a {
color: inherit;
text-decoration: none;
font-size: inherit;
font-family: inherit;
font-weight: inherit;
line-height: inherit;
}
.btn-primary table td:hover {
background-color: #34495e !important;
}
.btn-primary a:hover {
background-color: #34495e !important;
border-color: #34495e !important;
}
}
</style>
</head>
<body class="">
<span class="preheader">This is a preview.</span>
<table role="presentation" border="0" cellpadding="0" cellspacing="0" class="body">
<tr>
<td> </td>
<td class="container">
<div class="content">
<table role="presentation" class="main">
<!-- MAIN START -->
<tr>
<td class="wrapper">
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<p>Hello,</p>
<p>How are you? Hope doing good. This is the code for simple html email format.</p>
<table role="presentation" border="0" cellpadding="0" cellspacing="0" class="btn btn-primary">
<tbody>
<tr>
<td align="left">
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td> <a href="https://agalaxycode.blogspot.com" target="_blank">This is button</a> </td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<p>How are you? Hope doing good. This is the code for simple html email format.</p>
<p>Use it .</p>
</td>
</tr>
</table>
</td>
</tr>
<!-- MAIN END -->
</table>
<!-- FOOTER START HERE-->
<div class="footer">
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="content-block">
<span class="apple-link">Company Info herec, addres here</span>
<br> Unsubscribe matter <a href="https://agalaxycode.blogspot.com">Unsubscribe</a>.
</td>
</tr>
<tr>
<td class="content-block powered-by">
Powered by <a href="https://agalaxycode.blogspot.com">https://agalaxycode.blogspot.com</a>.
</td>
</tr>
</table>
</div>
<!-- FOOTER END HERE-->
</div>
</td>
<td> </td>
</tr>
</table>
</body>
</html>
Responsive email template
Responsive email template
Here is the responsive simple email template.
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Responsive Email Template</title>
<style>
@media only screen and (max-width: 620px) {
table[class=body] h1 {
font-size: 28px !important;
margin-bottom: 10px !important;
}
table[class=body] p,
table[class=body] ul,
table[class=body] ol,
table[class=body] td,
table[class=body] span,
table[class=body] a {
font-size: 16px !important;
}
table[class=body] .wrapper,
table[class=body] .article {
padding: 10px !important;
}
table[class=body] .content {
padding: 0 !important;
}
table[class=body] .container {
padding: 0 !important;
width: 100% !important;
}
table[class=body] .main {
border-left-width: 0 !important;
border-radius: 0 !important;
border-right-width: 0 !important;
}
table[class=body] .btn table {
width: 100% !important;
}
table[class=body] .btn a {
width: 100% !important;
}
table[class=body] .img-responsive {
height: auto !important;
max-width: 100% !important;
width: auto !important;
}
}
@media all {
.ExternalClass {
width: 100%;
}
.ExternalClass,
.ExternalClass p,
.ExternalClass span,
.ExternalClass font,
.ExternalClass td,
.ExternalClass div {
line-height: 100%;
}
.apple-link a {
color: inherit !important;
font-family: inherit !important;
font-size: inherit !important;
font-weight: inherit !important;
line-height: inherit !important;
text-decoration: none !important;
}
#MessageViewBody a {
color: inherit;
text-decoration: none;
font-size: inherit;
font-family: inherit;
font-weight: inherit;
line-height: inherit;
}
.btn-primary table td:hover {
background-color: #34495e !important;
}
.btn-primary a:hover {
background-color: #34495e !important;
border-color: #34495e !important;
}
}
</style>
</head>
<body class="" style="background-color: #f6f6f6; font-family: sans-serif; -webkit-font-smoothing: antialiased; font-size: 14px; line-height: 1.4; margin: 0; padding: 0; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;">
<table border="0" cellpadding="0" cellspacing="0" class="body" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%; background-color: #f6f6f6;">
<tr>
<td style="font-family: sans-serif; font-size: 14px; vertical-align: top;"> </td>
<td class="container" style="font-family: sans-serif; font-size: 14px; vertical-align: top; display: block; Margin: 0 auto; max-width: 580px; padding: 10px; width: 580px;">
<div class="content" style="box-sizing: border-box; display: block; Margin: 0 auto; max-width: 580px; padding: 10px;">
<!-- PREVIEW START HERE -->
<span class="preheader" style="color: transparent; display: none; height: 0; max-height: 0; max-width: 0; opacity: 0; overflow: hidden; mso-hide: all; visibility: hidden; width: 0;">That will show preview matter on;y.</span>
<table class="main" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%; background: #ffffff; border-radius: 3px;">
<!-- MAIN MESSAGE START HERE-->
<tr>
<td class="wrapper" style="font-family: sans-serif; font-size: 14px; vertical-align: top; box-sizing: border-box; padding: 20px;">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;">
<tr>
<td style="font-family: sans-serif; font-size: 14px; vertical-align: top;">
<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">Hello,</p>
<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">How are you? Hope you are doing good. This is the simple responsive HTML email template for you. You can use it in your email.</p>
<table border="0" cellpadding="0" cellspacing="0" class="btn btn-primary" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%; box-sizing: border-box;">
<tbody>
<tr>
<td align="left" style="font-family: sans-serif; font-size: 14px; vertical-align: top; padding-bottom: 15px;">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: auto;">
<tbody>
<tr>
<td style="font-family: sans-serif; font-size: 14px; vertical-align: top; background-color: #3498db; border-radius: 5px; text-align: center;"> <a href="https://agalaxycode.blogspot.com" target="_blank" style="display: inline-block; color: #ffffff; background-color: #3498db; border: solid 1px #3498db; border-radius: 5px; box-sizing: border-box; cursor: pointer; text-decoration: none; font-size: 14px; font-weight: bold; margin: 0; padding: 12px 25px; text-transform: capitalize; border-color: #3498db;">This is button</a> </td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">How are you? Hope you are doing good. This is the simple responsive HTML email template for you. You can use it in your email.</p>
<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">Nice, use it.</p>
</td>
</tr>
</table>
</td>
</tr>
<!-- MAIN MESSAGE END HERE -->
</table>
<!-- FOOTER START HERE-->
<div class="footer" style="clear: both; Margin-top: 10px; text-align: center; width: 100%;">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;">
<tr>
<td class="content-block" style="font-family: sans-serif; vertical-align: top; padding-bottom: 10px; padding-top: 10px; font-size: 12px; color: #999999; text-align: center;">
<span class="apple-link" style="color: #999999; font-size: 12px; text-align: center;">Your Company Info, address here</span>
<br> Unsubscribe link here fir this email <a href="https://agalaxycode.blogspot.com" style="text-decoration: underline; color: #999999; font-size: 12px; text-align: center;">Unsubscribe</a>.
</td>
</tr>
<tr>
<td class="content-block powered-by" style="font-family: sans-serif; vertical-align: top; padding-bottom: 10px; padding-top: 10px; font-size: 12px; color: #999999; text-align: center;">
Powered by <a href="https://agalaxycode.blogspot.com" style="color: #999999; font-size: 12px; text-align: center; text-decoration: none;">https://agalaxycode.blogspot.com</a>.
</td>
</tr>
</table>
</div>
<!-- FOOTER END HERE-->
<!-- PREVIEW END HERE -->
</div>
</td>
<td style="font-family: sans-serif; font-size: 14px; vertical-align: top;"> </td>
</tr>
</table>
</body>
</html>
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Responsive Email Template</title>
<style>
@media only screen and (max-width: 620px) {
table[class=body] h1 {
font-size: 28px !important;
margin-bottom: 10px !important;
}
table[class=body] p,
table[class=body] ul,
table[class=body] ol,
table[class=body] td,
table[class=body] span,
table[class=body] a {
font-size: 16px !important;
}
table[class=body] .wrapper,
table[class=body] .article {
padding: 10px !important;
}
table[class=body] .content {
padding: 0 !important;
}
table[class=body] .container {
padding: 0 !important;
width: 100% !important;
}
table[class=body] .main {
border-left-width: 0 !important;
border-radius: 0 !important;
border-right-width: 0 !important;
}
table[class=body] .btn table {
width: 100% !important;
}
table[class=body] .btn a {
width: 100% !important;
}
table[class=body] .img-responsive {
height: auto !important;
max-width: 100% !important;
width: auto !important;
}
}
@media all {
.ExternalClass {
width: 100%;
}
.ExternalClass,
.ExternalClass p,
.ExternalClass span,
.ExternalClass font,
.ExternalClass td,
.ExternalClass div {
line-height: 100%;
}
.apple-link a {
color: inherit !important;
font-family: inherit !important;
font-size: inherit !important;
font-weight: inherit !important;
line-height: inherit !important;
text-decoration: none !important;
}
#MessageViewBody a {
color: inherit;
text-decoration: none;
font-size: inherit;
font-family: inherit;
font-weight: inherit;
line-height: inherit;
}
.btn-primary table td:hover {
background-color: #34495e !important;
}
.btn-primary a:hover {
background-color: #34495e !important;
border-color: #34495e !important;
}
}
</style>
</head>
<body class="" style="background-color: #f6f6f6; font-family: sans-serif; -webkit-font-smoothing: antialiased; font-size: 14px; line-height: 1.4; margin: 0; padding: 0; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;">
<table border="0" cellpadding="0" cellspacing="0" class="body" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%; background-color: #f6f6f6;">
<tr>
<td style="font-family: sans-serif; font-size: 14px; vertical-align: top;"> </td>
<td class="container" style="font-family: sans-serif; font-size: 14px; vertical-align: top; display: block; Margin: 0 auto; max-width: 580px; padding: 10px; width: 580px;">
<div class="content" style="box-sizing: border-box; display: block; Margin: 0 auto; max-width: 580px; padding: 10px;">
<!-- PREVIEW START HERE -->
<span class="preheader" style="color: transparent; display: none; height: 0; max-height: 0; max-width: 0; opacity: 0; overflow: hidden; mso-hide: all; visibility: hidden; width: 0;">That will show preview matter on;y.</span>
<table class="main" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%; background: #ffffff; border-radius: 3px;">
<!-- MAIN MESSAGE START HERE-->
<tr>
<td class="wrapper" style="font-family: sans-serif; font-size: 14px; vertical-align: top; box-sizing: border-box; padding: 20px;">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;">
<tr>
<td style="font-family: sans-serif; font-size: 14px; vertical-align: top;">
<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">Hello,</p>
<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">How are you? Hope you are doing good. This is the simple responsive HTML email template for you. You can use it in your email.</p>
<table border="0" cellpadding="0" cellspacing="0" class="btn btn-primary" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%; box-sizing: border-box;">
<tbody>
<tr>
<td align="left" style="font-family: sans-serif; font-size: 14px; vertical-align: top; padding-bottom: 15px;">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: auto;">
<tbody>
<tr>
<td style="font-family: sans-serif; font-size: 14px; vertical-align: top; background-color: #3498db; border-radius: 5px; text-align: center;"> <a href="https://agalaxycode.blogspot.com" target="_blank" style="display: inline-block; color: #ffffff; background-color: #3498db; border: solid 1px #3498db; border-radius: 5px; box-sizing: border-box; cursor: pointer; text-decoration: none; font-size: 14px; font-weight: bold; margin: 0; padding: 12px 25px; text-transform: capitalize; border-color: #3498db;">This is button</a> </td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">How are you? Hope you are doing good. This is the simple responsive HTML email template for you. You can use it in your email.</p>
<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">Nice, use it.</p>
</td>
</tr>
</table>
</td>
</tr>
<!-- MAIN MESSAGE END HERE -->
</table>
<!-- FOOTER START HERE-->
<div class="footer" style="clear: both; Margin-top: 10px; text-align: center; width: 100%;">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;">
<tr>
<td class="content-block" style="font-family: sans-serif; vertical-align: top; padding-bottom: 10px; padding-top: 10px; font-size: 12px; color: #999999; text-align: center;">
<span class="apple-link" style="color: #999999; font-size: 12px; text-align: center;">Your Company Info, address here</span>
<br> Unsubscribe link here fir this email <a href="https://agalaxycode.blogspot.com" style="text-decoration: underline; color: #999999; font-size: 12px; text-align: center;">Unsubscribe</a>.
</td>
</tr>
<tr>
<td class="content-block powered-by" style="font-family: sans-serif; vertical-align: top; padding-bottom: 10px; padding-top: 10px; font-size: 12px; color: #999999; text-align: center;">
Powered by <a href="https://agalaxycode.blogspot.com" style="color: #999999; font-size: 12px; text-align: center; text-decoration: none;">https://agalaxycode.blogspot.com</a>.
</td>
</tr>
</table>
</div>
<!-- FOOTER END HERE-->
<!-- PREVIEW END HERE -->
</div>
</td>
<td style="font-family: sans-serif; font-size: 14px; vertical-align: top;"> </td>
</tr>
</table>
</body>
</html>
All Google region URLs
All Google region URLs
Here are all the urls of Google different region or country:
www.google.com Global / US (www.google.com)
www.google.com.af Afghanistan (www.google.com.af)
www.google.al Albania (www.google.al)
www.google.dz Algeria (www.google.dz)
www.google.as American Samoa (www.google.as)
www.google.ad Andorra (www.google.ad)
www.google.co.ao Angola (www.google.co.ao)
www.google.com.ai Anguilla (www.google.com.ai)
www.google.com.ag Antigua and Barbuda (www.google.com.ag)
www.google.com.ar Argentina (www.google.com.ar)
www.google.am Armenia (www.google.am)
www.google.ac Ascension Island (www.google.ac)
www.google.com.au Australia (www.google.com.au)
www.google.at Austria (www.google.at)
www.google.az Azerbaijan (www.google.az)
www.google.bs Bahamas (www.google.bs)
www.google.com.bh Bahrain (www.google.com.bh)
www.google.com.bd Bangladesh (www.google.com.bd)
www.google.by Belarus (www.google.by)
www.google.be Belgium (www.google.be)
www.google.com.bz Belize (www.google.com.bz)
www.google.bj Benin (www.google.bj)
www.google.bt Bhutan (www.google.bt)
www.google.com.bo Bolivia (www.google.com.bo)
www.google.ba Bosnia & Herzegovina (www.google.ba)
www.google.co.bw Botswana (www.google.co.bw)
www.google.com.br Brasil (www.google.com.br)
www.google.vg British Virgin Islands (www.google.vg)
www.google.com.bn Brunei (www.google.com.bn)
www.google.bg Bulgaria (www.google.bg)
www.google.bf Burkina Faso (www.google.bf)
www.google.com.mm Burma (www.google.com.mm)
www.google.bi Burundi (www.google.bi)
www.google.com.kh Cambodia (www.google.com.kh)
www.google.cm Cameroon (www.google.cm)
www.google.ca Canada (www.google.ca)
www.google.cv Cape Verde (www.google.cv)
www.google.cat Catalan Countries (www.google.cat)
www.google.cf Central African Republic (www.google.cf)
www.google.td Chad (www.google.td)
www.google.cl Chile (www.google.cl)
www.google.com.co Colombia (www.google.com.co)
www.google.co.ck Cook Islands (www.google.co.ck)
www.google.co.cr Costa Rica (www.google.co.cr)
www.google.hr Croatia (www.google.hr)
www.google.com.cu Cuba (www.google.com.cu)
www.google.com.cy Cyprus (www.google.com.cy)
www.google.cz Czech (www.google.cz)
www.google.cd Democratic Republic of the Congo (www.google.cd)
www.google.dk Denmark (www.google.dk)
www.google.dj Djibouti (www.google.dj)
www.google.dm Dominica (www.google.dm)
www.google.com.do Dominican Republic (www.google.com.do)
www.google.com.ec Ecuador (www.google.com.ec)
www.google.com.eg Egypt (www.google.com.eg)
www.google.com.sv El Salvador (www.google.com.sv)
www.google.ee Estonia (www.google.ee)
www.google.com.et Ethiopia (www.google.com.et)
www.google.fm Federated States of Micronesia (www.google.fm)
www.google.com.fj Fiji (www.google.com.fj)
www.google.fi Finland (www.google.fi)
www.google.fr France (www.google.fr)
www.google.ga Gabon (www.google.ga)
www.google.gm Gambia (www.google.gm)
www.google.ge Georgia (www.google.ge)
www.google.de Germany (www.google.de)
www.google.com.gh Ghana (www.google.com.gh)
www.google.com.gi Gibraltar (www.google.com.gi)
www.google.gr Greece (www.google.gr)
www.google.gl Greenland (www.google.gl)
www.google.gp Guadeloupe (www.google.gp)
www.google.com.gt Guatemala (www.google.com.gt)
www.google.gg Guernsey (www.google.gg)
www.google.gy Guyana (www.google.gy)
www.google.ht Haiti (www.google.ht)
www.google.hn Honduras (www.google.hn)
www.google.com.hk Hong Kong (www.google.com.hk)
www.google.hu Hungary (www.google.hu)
www.google.is Iceland (www.google.is)
www.google.co.in India (www.google.co.in)
www.google.co.id Indonesia (www.google.co.id)
www.google.iq Iraq (www.google.iq)
www.google.ie Ireland (www.google.ie)
www.google.im Isle of Man (www.google.im)
www.google.co.il Israel (www.google.co.il)
www.google.it Italia (www.google.it)
www.google.ci Ivory Coast (www.google.ci)
www.google.com.jm Jamaica (www.google.com.jm)
www.google.co.jp Japan (www.google.co.jp)
www.google.je Jersey (www.google.je)
www.google.jo Jordan (www.google.jo)
www.google.kz Kazakhstan (www.google.kz)
www.google.co.ke Kenya (www.google.co.ke)
www.google.ki Kiribati (www.google.ki)
www.google.com.kw Kuwait (www.google.com.kw)
www.google.kg Kyrgyzstan (www.google.kg)
www.google.la Laos (www.google.la)
www.google.lv Latvia (www.google.lv)
www.google.com.lb Lebanon (www.google.com.lb)
www.google.co.ls Lesotho (www.google.co.ls)
www.google.com.ly Libya (www.google.com.ly)
www.google.li Liechtenstein (www.google.li)
www.google.lt Lithuania (www.google.lt)
www.google.lu Luxembourg (www.google.lu)
www.google.mk Macedonia (www.google.mk)
www.google.mg Madagascar (www.google.mg)
www.google.mw Malawi (www.google.mw)
www.google.com.my Malaysia (www.google.com.my)
www.google.mv Maldives (www.google.mv)
www.google.ml Mali (www.google.ml)
www.google.com.mt Malta (www.google.com.mt)
www.google.mu Mauritius (www.google.mu)
www.google.com.mx Mexico (www.google.com.mx)
www.google.md Moldova (www.google.md)
www.google.mn Mongolia (www.google.mn)
www.google.me Montenegro (www.google.me)
www.google.ms Montserrat (www.google.ms)
www.google.co.ma Morocco (www.google.co.ma)
www.google.co.mz Mozambique (www.google.co.mz)
www.google.com.na Namibia (www.google.com.na)
www.google.nr Nauru (www.google.nr)
www.google.com.np Nepal (www.google.com.np)
www.google.nl Netherlands (www.google.nl)
www.google.co.nz New Zealand (www.google.co.nz)
www.google.com.ni Nicaragua (www.google.com.ni)
www.google.ne Niger (www.google.ne)
www.google.com.ng Nigeria (www.google.com.ng)
www.google.nu Niue (www.google.nu)
www.google.com.nf Norfolk Island (www.google.com.nf)
www.google.no Norway (www.google.no)
www.google.com.om Oman (www.google.com.om)
www.google.com.pk Pakistan (www.google.com.pk)
www.google.ps Palestine (www.google.ps)
www.google.com.pa Panama (www.google.com.pa)
www.google.com.pg Papua New Guinea (www.google.com.pg)
www.google.com.py Paraguay (www.google.com.py)
www.google.com.pe Peru (www.google.com.pe)
www.google.com.ph Philippines (www.google.com.ph)
www.google.pn Pitcairn Islands (www.google.pn)
www.google.pl Poland (www.google.pl)
www.google.pt Portugal (www.google.pt)
www.google.com.pr Puerto Rico (www.google.com.pr)
www.google.com.qa Qatar (www.google.com.qa)
www.google.cg Republic of the Congo (www.google.cg)
www.google.ro Romania (www.google.ro)
www.google.ru Russia (www.google.ru)
www.google.rw Rwanda (www.google.rw)
www.google.sh Saint Helena, Ascension and Tristan da Cunha (www.google.sh)
www.google.com.vc Saint Vincent and the Grenadines (www.google.com.vc)
www.google.ws Samoa (www.google.ws)
www.google.sm San Marino (www.google.sm)
www.google.com.sa Saudi Arabia (www.google.com.sa)
www.google.sn Senegal (www.google.sn)
www.google.rs Serbia (www.google.rs)
www.google.sc Seychelles (www.google.sc)
www.google.com.sl Sierra Leone (www.google.com.sl)
www.google.com.sg Singapore (www.google.com.sg)
www.google.sk Slovak (www.google.sk)
www.google.si Slovenia (www.google.si)
www.google.com.sb Solomon Islands (www.google.com.sb)
www.google.so Somalia (www.google.so)
www.google.co.za South Africa (www.google.co.za)
www.google.co.kr South Korea (www.google.co.kr)
www.google.es Spain (www.google.es)
www.google.lk Sri Lanka (www.google.lk)
www.google.se Sweden (www.google.se)
www.google.ch Switzerland (www.google.ch)
www.google.st São Tomé and Príncipe (www.google.st)
www.google.com.tw Taiwan (www.google.com.tw)
www.google.com.tj Tajikistan (www.google.com.tj)
www.google.co.tz Tanzania (www.google.co.tz)
www.google.co.th Thailand (www.google.co.th)
www.google.tl Timor-Leste (www.google.tl)
www.google.tg Togo (www.google.tg)
www.google.tk Tokelau (www.google.tk)
www.google.to Tonga (www.google.to)
www.google.tt Trinidad and Tobago (www.google.tt)
www.google.tn Tunisia (www.google.tn)
www.google.com.tr Turkey (www.google.com.tr)
www.google.tm Turkmenistan (www.google.tm)
www.google.co.ug Uganda (www.google.co.ug)
www.google.com.ua Ukraine (www.google.com.ua)
www.google.ae UAE (www.google.ae)
www.google.co.uk United Kingdom (www.google.co.uk)
www.google.com.uy Uruguay (www.google.com.uy)
www.google.co.uz Uzbekistan (www.google.co.uz)
www.google.vu Vanuatu (www.google.vu)
www.google.co.ve Venezuela (www.google.co.ve)
www.google.com.vn VietNam (www.google.com.vn)
www.google.co.vi Virgin Islands (www.google.co.vi)
www.google.co.zm Zambia (www.google.co.zm)
www.google.co.zw Zimbabwe (www.google.co.zw)
www.google.com Global / US (www.google.com)
www.google.com.af Afghanistan (www.google.com.af)
www.google.al Albania (www.google.al)
www.google.dz Algeria (www.google.dz)
www.google.as American Samoa (www.google.as)
www.google.ad Andorra (www.google.ad)
www.google.co.ao Angola (www.google.co.ao)
www.google.com.ai Anguilla (www.google.com.ai)
www.google.com.ag Antigua and Barbuda (www.google.com.ag)
www.google.com.ar Argentina (www.google.com.ar)
www.google.am Armenia (www.google.am)
www.google.ac Ascension Island (www.google.ac)
www.google.com.au Australia (www.google.com.au)
www.google.at Austria (www.google.at)
www.google.az Azerbaijan (www.google.az)
www.google.bs Bahamas (www.google.bs)
www.google.com.bh Bahrain (www.google.com.bh)
www.google.com.bd Bangladesh (www.google.com.bd)
www.google.by Belarus (www.google.by)
www.google.be Belgium (www.google.be)
www.google.com.bz Belize (www.google.com.bz)
www.google.bj Benin (www.google.bj)
www.google.bt Bhutan (www.google.bt)
www.google.com.bo Bolivia (www.google.com.bo)
www.google.ba Bosnia & Herzegovina (www.google.ba)
www.google.co.bw Botswana (www.google.co.bw)
www.google.com.br Brasil (www.google.com.br)
www.google.vg British Virgin Islands (www.google.vg)
www.google.com.bn Brunei (www.google.com.bn)
www.google.bg Bulgaria (www.google.bg)
www.google.bf Burkina Faso (www.google.bf)
www.google.com.mm Burma (www.google.com.mm)
www.google.bi Burundi (www.google.bi)
www.google.com.kh Cambodia (www.google.com.kh)
www.google.cm Cameroon (www.google.cm)
www.google.ca Canada (www.google.ca)
www.google.cv Cape Verde (www.google.cv)
www.google.cat Catalan Countries (www.google.cat)
www.google.cf Central African Republic (www.google.cf)
www.google.td Chad (www.google.td)
www.google.cl Chile (www.google.cl)
www.google.com.co Colombia (www.google.com.co)
www.google.co.ck Cook Islands (www.google.co.ck)
www.google.co.cr Costa Rica (www.google.co.cr)
www.google.hr Croatia (www.google.hr)
www.google.com.cu Cuba (www.google.com.cu)
www.google.com.cy Cyprus (www.google.com.cy)
www.google.cz Czech (www.google.cz)
www.google.cd Democratic Republic of the Congo (www.google.cd)
www.google.dk Denmark (www.google.dk)
www.google.dj Djibouti (www.google.dj)
www.google.dm Dominica (www.google.dm)
www.google.com.do Dominican Republic (www.google.com.do)
www.google.com.ec Ecuador (www.google.com.ec)
www.google.com.eg Egypt (www.google.com.eg)
www.google.com.sv El Salvador (www.google.com.sv)
www.google.ee Estonia (www.google.ee)
www.google.com.et Ethiopia (www.google.com.et)
www.google.fm Federated States of Micronesia (www.google.fm)
www.google.com.fj Fiji (www.google.com.fj)
www.google.fi Finland (www.google.fi)
www.google.fr France (www.google.fr)
www.google.ga Gabon (www.google.ga)
www.google.gm Gambia (www.google.gm)
www.google.ge Georgia (www.google.ge)
www.google.de Germany (www.google.de)
www.google.com.gh Ghana (www.google.com.gh)
www.google.com.gi Gibraltar (www.google.com.gi)
www.google.gr Greece (www.google.gr)
www.google.gl Greenland (www.google.gl)
www.google.gp Guadeloupe (www.google.gp)
www.google.com.gt Guatemala (www.google.com.gt)
www.google.gg Guernsey (www.google.gg)
www.google.gy Guyana (www.google.gy)
www.google.ht Haiti (www.google.ht)
www.google.hn Honduras (www.google.hn)
www.google.com.hk Hong Kong (www.google.com.hk)
www.google.hu Hungary (www.google.hu)
www.google.is Iceland (www.google.is)
www.google.co.in India (www.google.co.in)
www.google.co.id Indonesia (www.google.co.id)
www.google.iq Iraq (www.google.iq)
www.google.ie Ireland (www.google.ie)
www.google.im Isle of Man (www.google.im)
www.google.co.il Israel (www.google.co.il)
www.google.it Italia (www.google.it)
www.google.ci Ivory Coast (www.google.ci)
www.google.com.jm Jamaica (www.google.com.jm)
www.google.co.jp Japan (www.google.co.jp)
www.google.je Jersey (www.google.je)
www.google.jo Jordan (www.google.jo)
www.google.kz Kazakhstan (www.google.kz)
www.google.co.ke Kenya (www.google.co.ke)
www.google.ki Kiribati (www.google.ki)
www.google.com.kw Kuwait (www.google.com.kw)
www.google.kg Kyrgyzstan (www.google.kg)
www.google.la Laos (www.google.la)
www.google.lv Latvia (www.google.lv)
www.google.com.lb Lebanon (www.google.com.lb)
www.google.co.ls Lesotho (www.google.co.ls)
www.google.com.ly Libya (www.google.com.ly)
www.google.li Liechtenstein (www.google.li)
www.google.lt Lithuania (www.google.lt)
www.google.lu Luxembourg (www.google.lu)
www.google.mk Macedonia (www.google.mk)
www.google.mg Madagascar (www.google.mg)
www.google.mw Malawi (www.google.mw)
www.google.com.my Malaysia (www.google.com.my)
www.google.mv Maldives (www.google.mv)
www.google.ml Mali (www.google.ml)
www.google.com.mt Malta (www.google.com.mt)
www.google.mu Mauritius (www.google.mu)
www.google.com.mx Mexico (www.google.com.mx)
www.google.md Moldova (www.google.md)
www.google.mn Mongolia (www.google.mn)
www.google.me Montenegro (www.google.me)
www.google.ms Montserrat (www.google.ms)
www.google.co.ma Morocco (www.google.co.ma)
www.google.co.mz Mozambique (www.google.co.mz)
www.google.com.na Namibia (www.google.com.na)
www.google.nr Nauru (www.google.nr)
www.google.com.np Nepal (www.google.com.np)
www.google.nl Netherlands (www.google.nl)
www.google.co.nz New Zealand (www.google.co.nz)
www.google.com.ni Nicaragua (www.google.com.ni)
www.google.ne Niger (www.google.ne)
www.google.com.ng Nigeria (www.google.com.ng)
www.google.nu Niue (www.google.nu)
www.google.com.nf Norfolk Island (www.google.com.nf)
www.google.no Norway (www.google.no)
www.google.com.om Oman (www.google.com.om)
www.google.com.pk Pakistan (www.google.com.pk)
www.google.ps Palestine (www.google.ps)
www.google.com.pa Panama (www.google.com.pa)
www.google.com.pg Papua New Guinea (www.google.com.pg)
www.google.com.py Paraguay (www.google.com.py)
www.google.com.pe Peru (www.google.com.pe)
www.google.com.ph Philippines (www.google.com.ph)
www.google.pn Pitcairn Islands (www.google.pn)
www.google.pl Poland (www.google.pl)
www.google.pt Portugal (www.google.pt)
www.google.com.pr Puerto Rico (www.google.com.pr)
www.google.com.qa Qatar (www.google.com.qa)
www.google.cg Republic of the Congo (www.google.cg)
www.google.ro Romania (www.google.ro)
www.google.ru Russia (www.google.ru)
www.google.rw Rwanda (www.google.rw)
www.google.sh Saint Helena, Ascension and Tristan da Cunha (www.google.sh)
www.google.com.vc Saint Vincent and the Grenadines (www.google.com.vc)
www.google.ws Samoa (www.google.ws)
www.google.sm San Marino (www.google.sm)
www.google.com.sa Saudi Arabia (www.google.com.sa)
www.google.sn Senegal (www.google.sn)
www.google.rs Serbia (www.google.rs)
www.google.sc Seychelles (www.google.sc)
www.google.com.sl Sierra Leone (www.google.com.sl)
www.google.com.sg Singapore (www.google.com.sg)
www.google.sk Slovak (www.google.sk)
www.google.si Slovenia (www.google.si)
www.google.com.sb Solomon Islands (www.google.com.sb)
www.google.so Somalia (www.google.so)
www.google.co.za South Africa (www.google.co.za)
www.google.co.kr South Korea (www.google.co.kr)
www.google.es Spain (www.google.es)
www.google.lk Sri Lanka (www.google.lk)
www.google.se Sweden (www.google.se)
www.google.ch Switzerland (www.google.ch)
www.google.st São Tomé and Príncipe (www.google.st)
www.google.com.tw Taiwan (www.google.com.tw)
www.google.com.tj Tajikistan (www.google.com.tj)
www.google.co.tz Tanzania (www.google.co.tz)
www.google.co.th Thailand (www.google.co.th)
www.google.tl Timor-Leste (www.google.tl)
www.google.tg Togo (www.google.tg)
www.google.tk Tokelau (www.google.tk)
www.google.to Tonga (www.google.to)
www.google.tt Trinidad and Tobago (www.google.tt)
www.google.tn Tunisia (www.google.tn)
www.google.com.tr Turkey (www.google.com.tr)
www.google.tm Turkmenistan (www.google.tm)
www.google.co.ug Uganda (www.google.co.ug)
www.google.com.ua Ukraine (www.google.com.ua)
www.google.ae UAE (www.google.ae)
www.google.co.uk United Kingdom (www.google.co.uk)
www.google.com.uy Uruguay (www.google.com.uy)
www.google.co.uz Uzbekistan (www.google.co.uz)
www.google.vu Vanuatu (www.google.vu)
www.google.co.ve Venezuela (www.google.co.ve)
www.google.com.vn VietNam (www.google.com.vn)
www.google.co.vi Virgin Islands (www.google.co.vi)
www.google.co.zm Zambia (www.google.co.zm)
www.google.co.zw Zimbabwe (www.google.co.zw)
Wednesday, January 09, 2019
Change palceholder color in html
How to Change Palceholder color in html
If you want to change placeholder color of any text box then this listed below code is for you.
<input id="myinput" name="myinput" type="text" placeholder="Start your search here" />
<style>
::placeholder {
color:white;
opacity: 5;
}
:-ms-input-placeholder { color: white;}
::-ms-input-placeholder { color: white;}
</style>
<input id="myinput" name="myinput" type="text" placeholder="Start your search here" />
<style>
::placeholder {
color:white;
opacity: 5;
}
:-ms-input-placeholder { color: white;}
::-ms-input-placeholder { color: white;}
</style>
Tuesday, June 05, 2018
how to stop autoplay video in chrome browser
How to stop autoplay video in chrome browser
Google chrome is a good browser but it has a drawback. the drawback is it's video autoplay facility. If you open a page that have lot of videos then you will not be able to open other pages due to video autoplay.
So how to stop video autoplay? Follow these below steps.
1- Write "chrome://flags" at address bar.
2- Search "Autoplay policy" by using Ctrl+F keyword.
3- Now you can see "Autoplay policy"
4- Now select "Document user activation is required" from drop down list."
5- Now click on "RELAUNCH NOW" button.
For more detail information see below image.
So how to stop video autoplay? Follow these below steps.
1- Write "chrome://flags" at address bar.
2- Search "Autoplay policy" by using Ctrl+F keyword.
3- Now you can see "Autoplay policy"
4- Now select "Document user activation is required" from drop down list."
5- Now click on "RELAUNCH NOW" button.
For more detail information see below image.
![]() |
| how to stop autoplay video in chrome browser |
Wednesday, May 30, 2018
About COMODO Cloud Antivirus and browser
About COMODO Cloud Antivirus
It is developed by Comodo as Antivirus. But actually it ia a VIRUS.
When you install it, it will stop your Zip and RAR application. Means you will not able to create .ZIP and .RAR files. When you create .RAR and .ZIP files it will create but automatically deleted. So be careful about this. Also when you use Comodo cloud browser then it will automatically install. Keep distance from Comodo cloud browser.
When you install it, it will stop your Zip and RAR application. Means you will not able to create .ZIP and .RAR files. When you create .RAR and .ZIP files it will create but automatically deleted. So be careful about this. Also when you use Comodo cloud browser then it will automatically install. Keep distance from Comodo cloud browser.
Friday, April 07, 2017
Load JavaScript with extra tags for example data-shr-siteid or data-sumo-site-id
Load Load JavaScript with extra tags for example data-shr-siteid or data-sumo-site-id
You can use below code.
<script>
var loadScript = function(location, callback){
var fileRef = document.createElement('script');
fileRef.setAttribute('type','text/javascript');
if (callback) {
if (fileRef.readyState) { // IE
fileRef.onreadystatechange = function() {
if (fileRef.readyState == 'loaded' || fileRef.readyState == 'complete') {
fileRef.onreadystatechange = null;
callback();
}
};
} else { // Non-IE
fileRef.onload = function(){
callback();
};
}
}
fileRef.setAttribute('src', location);
fileRef.setAttribute('data-shr-siteid', '<?php echo $api_key; ?>');
fileRef.async = true;
document.head.appendChild(fileRef);
};
function doss() {
var surl='<?php echo ShareaholicUtilities::asset_url('assets/pub/shareaholic.js') ?>';
loadScript(surl, function() {
// CALLBACK - code that does something with the data returned by loading the script
});
}
setTimeout("doss();",6000);
</script>
<script>
var loadScript = function(location, callback){
var fileRef = document.createElement('script');
fileRef.setAttribute('type','text/javascript');
if (callback) {
if (fileRef.readyState) { // IE
fileRef.onreadystatechange = function() {
if (fileRef.readyState == 'loaded' || fileRef.readyState == 'complete') {
fileRef.onreadystatechange = null;
callback();
}
};
} else { // Non-IE
fileRef.onload = function(){
callback();
};
}
}
fileRef.setAttribute('src', location);
fileRef.setAttribute('data-shr-siteid', '<?php echo $api_key; ?>');
fileRef.async = true;
document.head.appendChild(fileRef);
};
function doss() {
var surl='<?php echo ShareaholicUtilities::asset_url('assets/pub/shareaholic.js') ?>';
loadScript(surl, function() {
// CALLBACK - code that does something with the data returned by loading the script
});
}
setTimeout("doss();",6000);
</script>
load javascript with callback script
How to load JavaScript with callback script
Sometime you needed to write a javascript that load and after load immediately call other it's related javascript code. It is called load javascript with callback script.
How to achieve it?
It is simple. below is the few lines of code.
<script type="text/javascript">
function loadmyScript(url, callback){
var sc = document.createElement("script")
sc.type = "text/javascript";
if (sc.readyState){ //IE
sc.onreadystatechange = function(){
if (sc.readyState == "loaded" ||
sc.readyState == "complete"){
sc.onreadystatechange = null;
callback();
}
};
} else { //Others
sc.onload = function(){
callback();
};
}
sc.src = url;
document.getElementsByTagName("head")[0].appendChild(sc);
}
function aa(){
loadmyScript("//www.com/javascript.js", function(){
// add here callback javascript code
});
}
aa();
</script>
below is one line of JavaScript code that check your system internet connect On of OFF.
How to achieve it?
It is simple. below is the few lines of code.
<script type="text/javascript">
function loadmyScript(url, callback){
var sc = document.createElement("script")
sc.type = "text/javascript";
if (sc.readyState){ //IE
sc.onreadystatechange = function(){
if (sc.readyState == "loaded" ||
sc.readyState == "complete"){
sc.onreadystatechange = null;
callback();
}
};
} else { //Others
sc.onload = function(){
callback();
};
}
sc.src = url;
document.getElementsByTagName("head")[0].appendChild(sc);
}
function aa(){
loadmyScript("//www.com/javascript.js", function(){
// add here callback javascript code
});
}
aa();
</script>
below is one line of JavaScript code that check your system internet connect On of OFF.












