Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 2 years ago.
Improve this question
Here's the code I'm working with more or less.
<!DOCTYPE html>
<html lang="en">
<body>
<header></header>
<div class="container">
<section>
<h1>Title</h1>
<pre>
Text <A herf="linkurl.com">Link</A> Text
</pre>
</section>
</div>
<footer></footer>
</body>
</html>
I'm trying to get the URL Hyperlink to work inside of the <pre></pre>. What am I missing here?
You are missing the fact that you spelled href as herf.
Looks like you are missing the protocol in the link. So before linkurl.com there should be something like http:// or https:// for a web-site, ftp:// for an FTP-resource and etc.
Related
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed last month.
Improve this question
The code was just a practice for my html study and the image is not popping up like i want it to i want to know why.
<!DOCTYPE html>
<body>
<p>
<h1> This is ur mom texting </h1>
<p>hello human of the world this is your mom and i disapoprove of you all</p>
this the link
<p>
<img src="f7e55d6f07a6f29a827017134ccc6321.jpg" alt=https://www.google.com width"100" height"100" >
</p>
</body>
Use this instead
<img src="f7e55d6f07a6f29a827017134ccc6321.jpg" alt="https://www.google.com" width="100" height="100" >
Yhe syntax of an attribute is as follows
attributeName="value"
Note the " and the =
src must lead to an image, not just the name of the image
you have to give the link to the image depending on where the HTML file is located
So I supposed that your image is in the same place as the HTML file
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 1 year ago.
Improve this question
</head>
<body>
<h1>
learning web dev
</h1>
<hr>
<a href="http://www.google.com/" target=blank > Google </a>
<a herf="index2.html">next page</a>
</body>
</html>
the google link works but next page link just showing text
There seems to be a typo in your code, it should be href, also please check if you have the index2.html file in same folder as your existing html, if not then please provide a path for it in href attribute.
<html>
</head>
<body>
<h1>
learning web dev
</h1>
<hr>
<a href="http://www.google.com/" target=blank > Google </a>
next page
</body>
</html>
You have a typo in your markup (herf instead of href)
herf should be href
here is working code
<a href="http://www.google.com/" target=blank > Google </a>
next page
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I want to add text(which is not part of the link) beside a link. How should I align it beside the link?
For example,
text - link
I want to do it like that
Just type the text within the element, but not inside the link tag. Your link text will be inside a tag.
For example:
<div>Text link</div>
Try like this
<!DOCTYPE html>
<html>
<body>
<ul style="list-style-type:none;" >
<li>Google - <a href="https://www.google.com" >Link</a>
</ul>
</body>
</html>
Output :
Google - Link
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 8 years ago.
Improve this question
For some weird reason, when viewing the source code on my HTML file there is an ending td tag that is colored red. When I hover over it I get a notice saying "End tag "td" seen but there are no open elements".
My browser output it fine, but my HTML is not being converted to a PDF format because of this syntax issue.
Can anyone please help me find a solution?? Thanks!!
<table id='order_info_container'>
<tr><td>
<img id='o_summary_logo' src='o_summary_logo.png'>
</td>
<td id='customer_service'>
<b>Customer Service # (212)-233-5751<br>
Thank you for your business
</td> //My source code is telling me that there is no open tag for this ending tag?
</tr></table>
Because you didn't close your bold tag
<td id='customer_service'>
<b>Customer Service # (212)-233-5751<br>
Thank you for your business</b> <!---- here -->
</td>
<b>Customer Service # (212)-233-5751<br>
Should be
<b>Customer Service # (212)-233-5751</b>
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 8 years ago.
Improve this question
Can someone please help me solve this problem. I want to show a submit button when users click on the anchor tag. The problem is, the button is initially hidden, but when I click on the anchor tag, nothing happens
The HTML code is as follows:
<html>
<head>
<style>
#reveal
{
visibility:hidden;
}
</style>
</head>
<body>
<div>
<a href="javascript:" onclick='showButton();'>k...#ccs.neu.edu</a>
</div>
<form>
<input type="submit" value="show email address" id="reveal"/>
</form>
<script type="text/javascript">
function showButton() {
document.getElementById("reveal").style.visibility = visible;
}
</script>
</body>
</html>
Use document.getElementById("reveal").style.visibility = 'visible'; instead of document.getElementById("reveal").style.visibility = visible;
You do not want to assign a variable, but a value, which should be put on quotes.
Use 'visible' instead of visible. You want to use a value, not a variable there.