Relative vs Absolute Link
HTML
Medium
2 views
Problem Description
Make two links: one to '/topics' and one to 'https://meetcode.com/topics'.
Output Format
Print the HTML code.
Constraints
Use two separate anchors.
Official Solution
<!doctype html>
<html lang='en'>
<head>
<meta charset='utf-8'>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<title>meetcode</title>
</head>
<body>
<a href='/topics'>Topics (relative)</a>
<br>
<a href='https://meetcode.com/topics'>Topics (absolute)</a>
</body>
</html>
Solutions (0)
No solutions submitted yet. Be the first!
No comments yet. Start the discussion!