Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<html>
<head>
<title>First Mobile Example</title>
<meta name="viewport" content="width=device-width, initialscale=1">
<link rel="stylesheet" href="jquery.mobile-1.4.5.css" />
<script type="text/javascript" src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="jquery.mobile-1.4.5.min.js"></script>
</head>
<body>
<div data-role="page" id="homePage">
<div data-role="header">Welcome</div>
<div data-role="content">
<p>
Welcome to our first mobile web site. It's going to be the
best site you've ever seen.
</p>
<p>
You can also <a href="#aboutPage">learn more</a> about
ngocminhtran.com.
</p>
<p>
<a href="contact.html"
data-ajax="false"
data-prefetch
data-transition="slide"
data-direction="reverse">Click here</a> to contact me.
</p>
</div>
<div data-role="footer">
<i>Copyright ngocminhtran.com &copy; 2019</i>
</div>
</div>
<div data-role="page" id="aboutPage" data-title="About Me">
<div data-role="header">About </div>
<div data-role="content">
<p>
This website is created by ngocminhtran.com. Click
<a href="#homePage">return</a> to the home page.
</p>
</div>
<div data-role="footer">
<i>Copyright ngocminhtran.com &copy; 2019</i>
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.