Questions tagged [html-title]

The "title" element defines the title of HTML documents (

)

The title element:

  • defines a title in the browser toolbar
  • provides a title for the page when it is added to favorites
  • displays a title for the page in search-engine results
<title>Document title</title>

You can NOT have more than one title element in an HTML document.

If you omit the title element, the document will not validate as HTML.

33 questions
1
vote
1 answer

crawler4j - I can't get the title

In short: I can’t get this URL’s title http://www.namlihipermarketleri.com.tr/default.asp?git=9&urun=10277 (which is broken now (18-11-2015) ) İn my WebCrawler implementation: @Override public void visit(Page page) { …
Ismail Yavuz
  • 6,727
  • 6
  • 29
  • 50
1
vote
0 answers

Sanitizing user data for use in the page title without encoding to entities?

Obviously one of the main ways to protect against malicious code from users is to encode the data to html entities; however what about when using the data in the page title - as the page title doesn't convert the entities for display purposes and…
Brett
  • 19,449
  • 54
  • 157
  • 290
0
votes
1 answer

JQuery UI dialog: should I use h1, h2 or h3?

Which HTML title tag (h1, h2, h3...) is supposed to be used in a JQuery UI dialog? I know I can put anything and set the layout I want using CSS, but I would like to know if a title level is more appropriate than another one.
Matthieu Napoli
  • 48,448
  • 45
  • 173
  • 261
0
votes
0 answers

How to assign a value to bootstrap tooltip's title attribute using string interpolation in angular?

I want title attribute's value to be dynamic. However it works fine when title="Hello!!" is used, but when I use title="{{mystring}}" it works, but shows default HTML style tooltip not, Bootstrap style tooltip.
0
votes
1 answer

'title' tag on the header is missing in TYPO3 template

I set up a website using TYPO3 v9.5.9 and I can't find the tag on the HTML source. How can I insert the current page <title> automatically into the header? Here is how my header is currently displayed: <!DOCTYPE html><html…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/html" class="post-tag grid--cell" title="show questions tagged 'html'" rel="tag">html</a> <a href="../../questions/tagged/typo3" class="post-tag grid--cell" title="show questions tagged 'typo3'" rel="tag">typo3</a> <a href="../../questions/tagged/typo3-9.x" class="post-tag grid--cell" title="show questions tagged 'typo3-9.x'" rel="tag">typo3-9.x</a> <a href="../../questions/tagged/html-title" class="post-tag grid--cell" title="show questions tagged 'html-title'" rel="tag">html-title</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Oct 11 '19 at 20:28">asked Oct 11 '19 at 20:28</time> <a href="../../users/11541354/maz" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/11541354.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="MAZ" /> </a> <div class="s-user-card--info"> <a href="../../users/11541354/maz" class="s-user-card--link">MAZ</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">222</li> <li class="s-award-bling s-award-bling__silver" title="1 silver badges">1</li> <li class="s-award-bling s-award-bling__bronze" title="14 bronze badges">14</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-57516617"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/57516617/using-span-tags-in-meta-description-title-for-dual-languages" class="question-hyperlink">Using span tags in meta description & title, for dual languages</a></h3> <div class="excerpt">I use both Persian characters and English in meta-description & title tag and I'm wondering if I can use span tags? <meta name="description" content="The movie is Italy Italy - <span dir='rtl'>فیلم جدید</span>"> <title>The movie is Italy Italy -…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/html" class="post-tag grid--cell" title="show questions tagged 'html'" rel="tag">html</a> <a href="../../questions/tagged/multilingual" class="post-tag grid--cell" title="show questions tagged 'multilingual'" rel="tag">multilingual</a> <a href="../../questions/tagged/meta-tags" class="post-tag grid--cell" title="show questions tagged 'meta-tags'" rel="tag">meta-tags</a> <a href="../../questions/tagged/right-to-left" class="post-tag grid--cell" title="show questions tagged 'right-to-left'" rel="tag">right-to-left</a> <a href="../../questions/tagged/html-title" class="post-tag grid--cell" title="show questions tagged 'html-title'" rel="tag">html-title</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Aug 15 '19 at 21:45">asked Aug 15 '19 at 21:45</time> <a href="../../users/892134/user892134" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/892134.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="user892134" /> </a> <div class="s-user-card--info"> <a href="../../users/892134/user892134" class="s-user-card--link">user892134</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">3,078</li> <li class="s-award-bling s-award-bling__gold" title="16 gold badges">16</li> <li class="s-award-bling s-award-bling__silver" title="62 silver badges">62</li> <li class="s-award-bling s-award-bling__bronze" title="128 bronze badges">128</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-56989202"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/56989202/why-does-the-title-of-the-template-in-use-remain-while-i-have-changed-it-in-he" class="question-hyperlink">Why does the title (of the template in use) remain, while I have changed it in <head>?</a></h3> <div class="excerpt">While inspecting the HTML rendering of my website. I discovered that the meta description, rendered by the "Jekyll SEO tag" in <head>, shows the old title (shown here below) of the Jekyll template I used to build my website. <title>Airspace | Human…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/jekyll" class="post-tag grid--cell" title="show questions tagged 'jekyll'" rel="tag">jekyll</a> <a href="../../questions/tagged/html-head" class="post-tag grid--cell" title="show questions tagged 'html-head'" rel="tag">html-head</a> <a href="../../questions/tagged/html-title" class="post-tag grid--cell" title="show questions tagged 'html-title'" rel="tag">html-title</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jul 11 '19 at 12:27">asked Jul 11 '19 at 12:27</time> <a href="../../users/7160844/gino-jan-ludikhuyze" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/7160844.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Gino Jan Ludikhuyze" /> </a> <div class="s-user-card--info"> <a href="../../users/7160844/gino-jan-ludikhuyze" class="s-user-card--link">Gino Jan Ludikhuyze</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">113</li> <li class="s-award-bling s-award-bling__silver" title="2 silver badges">2</li> <li class="s-award-bling s-award-bling__bronze" title="9 bronze badges">9</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-48037475"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/48037475/how-to-remove-godaddy-title-in-google-search" class="question-hyperlink">How to remove Godaddy title in Google search</a></h3> <div class="excerpt">I have purchased a new domain from Godaddy and connected it to my Blogger. The problem is when I search on Google I get my blogger title like this: However I checked the title tag on the Blogger code and every thing looks OK! </div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/blogger" class="post-tag grid--cell" title="show questions tagged 'blogger'" rel="tag">blogger</a> <a href="../../questions/tagged/google-search" class="post-tag grid--cell" title="show questions tagged 'google-search'" rel="tag">google-search</a> <a href="../../questions/tagged/html-title" class="post-tag grid--cell" title="show questions tagged 'html-title'" rel="tag">html-title</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Dec 30 '17 at 20:09">asked Dec 30 '17 at 20:09</time> <a href="../../users/8297024/omar" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/8297024.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Omar" /> </a> <div class="s-user-card--info"> <a href="../../users/8297024/omar" class="s-user-card--link">Omar</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1</li> <li class="s-award-bling s-award-bling__bronze" title="2 bronze badges">2</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-39889234"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/39889234/updating-html-title-after-ajax-page-load" class="question-hyperlink">Updating HTML title after AJAX page load</a></h3> <div class="excerpt">When I load new pages via AJAX I need to of course update the HTML title to match the new page. The code below is something I have used successfully in past projects but for some reason it's not working here. ajaxLoad = function(html) { init(); …</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/javascript" class="post-tag grid--cell" title="show questions tagged 'javascript'" rel="tag">javascript</a> <a href="../../questions/tagged/jquery" class="post-tag grid--cell" title="show questions tagged 'jquery'" rel="tag">jquery</a> <a href="../../questions/tagged/ajax" class="post-tag grid--cell" title="show questions tagged 'ajax'" rel="tag">ajax</a> <a href="../../questions/tagged/html-title" class="post-tag grid--cell" title="show questions tagged 'html-title'" rel="tag">html-title</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Oct 06 '16 at 06:43">asked Oct 06 '16 at 06:43</time> <a href="../../users/3089163/benek-lisefski" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/3089163.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Benek Lisefski" /> </a> <div class="s-user-card--info"> <a href="../../users/3089163/benek-lisefski" class="s-user-card--link">Benek Lisefski</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">159</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="3 silver badge">3</li> <li class="s-award-bling s-award-bling__bronze" title="13 bronze badge">13</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-39763375"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/39763375/magento-change-product-page-titles-to-only-include-catalog-level1-and-2" class="question-hyperlink">Magento Change Product Page Titles to only include catalog, level1 and 2</a></h3> <div class="excerpt">I have a rather long and complicated category-struktur up to 5 levels of subcategories. It is all by standard added to product-html-title. I would like it only to show catalog, level1 and level2 subcategories. any suggestion how to fix this? Thanks…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/magento" class="post-tag grid--cell" title="show questions tagged 'magento'" rel="tag">magento</a> <a href="../../questions/tagged/seo" class="post-tag grid--cell" title="show questions tagged 'seo'" rel="tag">seo</a> <a href="../../questions/tagged/suffix" class="post-tag grid--cell" title="show questions tagged 'suffix'" rel="tag">suffix</a> <a href="../../questions/tagged/html-title" class="post-tag grid--cell" title="show questions tagged 'html-title'" rel="tag">html-title</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Sep 29 '16 at 06:53">asked Sep 29 '16 at 06:53</time> <a href="../../users/6897763/msp" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/6897763.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="MSP" /> </a> <div class="s-user-card--info"> <a href="../../users/6897763/msp" class="s-user-card--link">MSP</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">11</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-37291752"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/37291752/how-to-change-google-search-results-title-for-my-site-using-html-tags" class="question-hyperlink">How to change google search results title for my site using HTML tags?</a></h3> <div class="excerpt"> How would I change the title of my website when it appears on Google search results? There are three different tags for title so not sure which one to use? <title>example title
jdogdvr
  • 359
  • 3
  • 18
0
votes
6 answers

ASP.NET: Having common Page title in master page with each page adding page-specific title?

My master page looks like: <asp:ContentPlaceHolder ID="PageTitlePlaceHolder" runat="server" /> Content pages look like:
User
  • 62,498
  • 72
  • 186
  • 247
0
votes
2 answers

Google search engine displaying site title as "Web"

The title displays properly in all other search engines, it only does this with Google's search: The site (www.ClearspanInc.com) has been up for awhile, and has had more than enough time to be crawled. We are using ASP.net. …
Christoa
  • 69
  • 7
0
votes
1 answer

User controlled html title tags

What are the best practices for allowing a user to maintain the html title tags of all the major pages of his/her site? One way could be to allow the mapping of URLs to some text. For example, we have an app with the following (most complex) url…
zaf
  • 22,776
  • 12
  • 65
  • 95
-1
votes
1 answer

Change PHP title on page-to-page basis

So let's say I have multiple pages that are structured like so: ..HTML continues Logic pertaining to the in head.sub.php. if (!isset($g5['title'])) { $g5['title'] = $config['cf_title']; …</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/php" class="post-tag grid--cell" title="show questions tagged 'php'" rel="tag">php</a> <a href="../../questions/tagged/html" class="post-tag grid--cell" title="show questions tagged 'html'" rel="tag">html</a> <a href="../../questions/tagged/html-title" class="post-tag grid--cell" title="show questions tagged 'html-title'" rel="tag">html-title</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Feb 27 '23 at 15:19">asked Feb 27 '23 at 15:19</time> <a href="../../users/19906832/user" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/19906832.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="user" /> </a> <div class="s-user-card--info"> <a href="../../users/19906832/user" class="s-user-card--link">user</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">45</li> <li class="s-award-bling s-award-bling__bronze" title="7 bronze badges">7</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <a class="s-pagination--item" href="../../questions/tagged/html-title_page=1" rel="prev" title="Go to page 1">Prev </a> <a class="s-pagination--item" href="../../questions/tagged/html-title_page=1" rel="" title="Go to page 1">1</a> <div class="s-pagination--item is-selected">2</div> <a class="s-pagination--item" href="../../questions/tagged/html-title_page=3" rel="" title="Go to page 3">3</a> <a class="s-pagination--item" href="../../questions/tagged/html-title_page=3" rel="next" title="Go to page 3"> Next</a> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>