Skip to content

Instantly share code, notes, and snippets.

@DominusKelvin
Created September 3, 2018 13:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DominusKelvin/a759876266e98315d87fbf0a53c8be0d to your computer and use it in GitHub Desktop.
Save DominusKelvin/a759876266e98315d87fbf0a53c8be0d to your computer and use it in GitHub Desktop.
<!DOCTYPE html5>
<html lang:'en'>
<title>This is a test markup</title>
<head>
<meta charset="UTF-8" />
</head>
<body>
<p id="name">Hello Intern</p>
<p id="name">Welcome to your test page</p>
</body>
</html>
@Achilles45
Copy link

Oh yes. They were supposed to be there before writing the paragraph's text.

@DominusKelvin
Copy link
Author

There is nothing wrong with the text. The last error is semantic. Look closely and pay attention.

@Achilles45
Copy link

An id is supposed to have a unique name and so id="name" used twice is wrong

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment