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
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 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 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.
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 needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
how to create a html newsletter
if i have a page
<html>
<body>
<h1 style="color: red; background:yellow">hello world</h1>
</body>
</html>
how can I send this by email? If i paste on my email, it only show text with all tag.
I mean sending the newsletter, like others company's newsletter
Do you means sending emails in html.
If it is right,I hope here is what you want
<!DOCTYPE html>
<html>
<body>
<p>
This is an email link:
<a href="mailto:someone#example.com?Subject=Hello%20again" target="_top">
Send Mail</a>
</p>
<p>
<b>Note:</b> Spaces between words should be replaced by %20 to ensure that the browser will display the text properly.
</p>
</body>
</html>
Or Do you want to send html page in email.
you can find at https://support.google.com/mail/answer/6584?hl=en
if you are using gmail.
If you mean manual copy/paste directly into rich-text email - don't copy/paste HTML source. View the content in browser (where colors and backgrounds actually show) and copy/paste that rendered content.