Skip to content

Instantly share code, notes, and snippets.

@rafikahmed
Created July 17, 2018 14:02
Show Gist options
  • Save rafikahmed/2765da175b9757655b33f70df31299c5 to your computer and use it in GitHub Desktop.
Save rafikahmed/2765da175b9757655b33f70df31299c5 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Xpath Syntax</title>
</head>
<body>
<!--comment-->
<h1 id="title">h1 contains ID</h1>
<h1>h1 without ID</h1>
<h4 class="sub-title">h4 contains a class</h4>
<h4>h4 without class</h4>
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
<li>Item 4</li>
</ul>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment