I have a image on my website with that name.
Yaşar.png
But when I tried to use it in <img src="https://example.com/Yaşar.png"> tag, it looks broken.
use meta tag
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<img src="http://example.com/Yaşar.png">
If it doesn't work cross-check your image extension.
Related
Bit of a silly question but when I'm linking my portfolio to external sites like Linkedin, a randomly selected image shows up. How do I change the source for my image so that I can use my logo as the image shown instead?
You can just include your logo as a source to the image in your source code:
<img src="url-to-your-logo" alt="alternative text">
What you need to do is add a reference to the image you want to display in a meta tag with a property="og:image" attribute.
Such meta tags control which information will be displayed when sharing your link:
<meta property="og:title" content="Title Of My Site">
<meta property="og:description" content="This description will appear below the title in a smaller font.">
<meta property="og:image" content="http://mysite.example.com/show-this-instead-of-linkedin-logo.jpg">
<meta property="og:url" content="http://mysite.example.com">
You can check this CSS Tricks article for more information.
peace upon you
I have a problem with the language when I was in the notepad
An idea about the subject
I tried to put metadata utf-8
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
It doesn't show the arabic words, it shows question marks instead
Include the two tags inside your paragraph marker:
dir="rtl"
lang="ar"
رَبٍّ زِدْنٍي عِلمًا
<p dir="rtl" lang="ar" style="color:#e0e0e0;font-size:20px;">رَبٍّ زِدْنٍي عِلمًا</p>
Here the meta tag you can use if you are using notepad.
**<meta content="text/html; charset=utf-8" http-equiv=Content-Type>**
if you are using modern text editor like sublime you don't need to put that.
I am trying to enter the following meta tag in my jsp page using strut taglib
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" name="Webmaster" content="Telephone: <s:text name="webmaster.phone" /> , email:<s:text name="webmaster.email" />, address:<s:text name="webmaster.mail" />">
But a warning is showing that meta tag should be empty element tag. What should I do to solve this problem? Is there any other way to enter the webmaster information in the meta tag?
If your JSP declare a kind of xhtml DOCTYPE than the <meta> tag must be properly closed, as reported in Differences Between HTML and XHTML.
So your tag should be:
<meta
http-equiv="Content-Type"
content="text/html;
...
address:<s:text name="webmaster.mail" />"
/>
I had the same Eclipse warning in my html code and discovered it's b/c I didn't properly close the meta tag.
Example incorrect meta tag:
<meta name="description" content="blah blah">
Fixed by properly closing meta tag with "/>" :
<meta name="description" content="blah blah"/>
i have the following code. it contain Turkish content. but i get the results including special charecter. so please give solution for that.
html code
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<META HTTP-EQUIV="content-language" CONTENT="TR" />
<title>test</title>
</head>
<body>
Tarihçe
</body>
</html>
i will get Tarih�e instaed of Tarihçe.
If you can use Turkish encoding below will be the meta tag
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9" />
else code Tarihçe as
Tarihçe
Change the actual character encoding of the file to UTF-8, using whatever settings need to be used in the program you use to create and edit pages. The file is now in some 8-bit encoding, so the letter ç appears in the data as a byte that is not allowed in UTF-8; hence the � symbol (it indicates character-level data error).
I have bound data to a repeater control in ab asp.net application. When the data is displayed in plain HTML text in the browser it comes with these characters: â€. I am unable to figure out the reason behind this.
What kind of html document type are you writing right now. If it's HTML 5, then check if you have <meta charset=utf8 /> under the <head> tag. If you are using <meta http-equiv="Content-Type" content="text/html; charset=utf8" /> under your <head> tag.
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
have you given this in your code?
http://ask-leo.com/why_do_i_get_odd_characters_instead_of_quotes_in_my_documents.html
Also look at the tables in the database to see what collation they are eg latin1_swedish_ci, utf8_general_ci
Use symbol " . Do not use ”
Correct example:
mozilla.com
Incorrect:
<a href=”http://www.mozilla.com”>mozilla.com</a>