Code
Code
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
"width=device-width, initial-scale=1">
<title>table demo</title>
"https://code.jquery.com/mobile/1.5.0-alpha.1/jquery.mobile-1.5.0-alpha.1.min.css">
<script src=
"https://code.jquery.com/jquery-3.2.1.min.js">
</script>
<script src=
"https://code.jquery.com/mobile/1.5.0-alpha.1/jquery.mobile-1.5.0-alpha.1.min.js">
</script>
</head>
<body>
<center>
<div data-role="page">
<h1 style="color:#6060a3;">
Company Website
</h1>
<table data-role="table">
<thead>
<tr>
<th>Company</th>
<th>Department</th>
<th>Domain</th>
</tr>
</thead>
<tbody>
<tr>
<td>Lorem, ipsum.</td>
<td>Computer Science</td>
<td><a href="https://pict.edu/"
data-rel="external">
https://pict.edu/
</a>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</center>
<script>
$(document).ready(function () {
$("#GFG").table({
classes: {
"classes.Name": "GeeksforGeeks"
});
$("#Button").on('click', function () {
$("#log").html(a);
});
});
</script>
</body>
</html>
Output: