Questions tagged [title]

**DO NOT USE THIS TAG.** In programming languages, title can refer to the title of a figure or the title of an object.

DO NOT USE THIS TAG. It is ambiguous and chances are not useful in helping to categorize your question in any way. Consider using other, more specific tags.


In programming languages, title can refer to the title of an object or the title of a page.

In , the word title may refer to two distinct concepts:

  1. The title element appears within the head of the document, and provides a meaningful description of the document. According to the W3C Style Guide:

    There may only be one title in any document. It should identify the content of the document in a fairly wide context.

    There's also the tag specifically for the title element.

  2. The title attribute may appear on any element within the page to provide additional information or context to that element. On most web browsers, the content of the title element is desplayed when the user's cursor hovers over the element. For example:

    <a title="Hello World" href="#">this link has a title</a>.
    
2485 questions
384
votes
32 answers

How can I use a carriage return in a HTML tooltip?

I'm currently adding verbose tooltips to our site, and I'd like (without having to resort to a whizz-bang jQuery plugin, I know there are many!) to use carriage returns to format the tooltip. To add the tip I'm using the title attribute. I've looked…
penderi
  • 8,673
  • 5
  • 45
  • 62
272
votes
4 answers

How to get the title of HTML page with JavaScript?

How can I get the title of an HTML page with JavaScript?
ZA.
  • 10,107
  • 10
  • 37
  • 39
222
votes
18 answers

Changing navigation title programmatically

I have a navigation bar with a title. When I double click the text to rename it, it actually says it's a navigation item, so it might be that. I'm trying to change the text using code, like: declare navigation bar as navagationbar here button stuff…
Rising
  • 2,465
  • 3
  • 13
  • 8
170
votes
8 answers

Python Matplotlib figure title overlaps axes label when using twiny

I am trying to plot two separate quantities on the same graph using twiny as follows: fig = figure() ax = fig.add_subplot(111) ax.plot(T, r, 'b-', T, R, 'r-', T, r_geo, 'g-') ax.set_yscale('log') ax.annotate('Approx. sea level',…
Magic_Matt_Man
  • 2,020
  • 3
  • 16
  • 16
167
votes
4 answers

Matplotlib - global legend and title aside subplots

I've started with matplot and managed some basic plots, but now I find it hard to discover how to do some stuff I need now :( My actual question is how to place a global title and global legend on a figure with subplots. I'm doing 2x3 subplots where…
Gere
  • 12,075
  • 18
  • 62
  • 94
138
votes
10 answers

In Chart.js set chart title, name of x axis and y axis?

Does Chart.js (documentation) have option for datasets to set name (title) of chart (e.g. Temperature in my City), name of x axis (e.g. Days) and name of y axis (e.g. Temperature). Or I should solve this with css? var lineChartData = { labels :…
DaniKR
  • 2,418
  • 10
  • 39
  • 48
127
votes
11 answers

Pane Title in Tmux

On my local machine I've got 3 node.js instances running simultaneously. Each has it's own pane in a tmux window called "servers". The problem is that it's not that easy to figure out which node is running in which pane, 'cause their logs are…
Andrey Lushnikov
  • 3,143
  • 3
  • 22
  • 21
107
votes
13 answers

Set title background color

In my android application I want the standard/basic title bar to change color. To change the text color you have setTitleColor(int color), is there a way to change the background color of the bar?
Thizzer
  • 16,153
  • 28
  • 98
  • 139
101
votes
5 answers

Increase distance between title and plot in matplolib?

I have a simple plot in matplotlib and I would like to increase the distance between the title and the plot (without using suptitle because it does not work on the version I use on a server). How to do that ?
Vincent
  • 57,703
  • 61
  • 205
  • 388
93
votes
10 answers

Changing the page title with Jquery

How to make dynamic changing tag with jquery? example: adding 3 > symbols one by one > title >> title >>> title </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/title" class="post-tag grid--cell" title="show questions tagged 'title'" rel="tag">title</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Aug 24 '11 at 10:02">asked Aug 24 '11 at 10:02</time> <a href="../../users/909071/ilya-medvedev" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/909071.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Ilya Medvedev" /> </a> <div class="s-user-card--info"> <a href="../../users/909071/ilya-medvedev" class="s-user-card--link">Ilya Medvedev</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1,281</li> <li class="s-award-bling s-award-bling__gold" title="3 gold badges">3</li> <li class="s-award-bling s-award-bling__silver" title="12 silver badges">12</li> <li class="s-award-bling s-award-bling__bronze" title="22 bronze badges">22</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-10598269"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>93</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>5</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/10598269/how-to-change-the-title-of-the-window-in-qt" class="question-hyperlink">How to change the Title of the window in Qt?</a></h3> <div class="excerpt">How to change the title of the window in Qt? (Both for QDialog and QMainWindow.) </div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/c++" class="post-tag grid--cell" title="show questions tagged 'c++'" rel="tag">c++</a> <a href="../../questions/tagged/qt" class="post-tag grid--cell" title="show questions tagged 'qt'" rel="tag">qt</a> <a href="../../questions/tagged/window" class="post-tag grid--cell" title="show questions tagged 'window'" rel="tag">window</a> <a href="../../questions/tagged/title" class="post-tag grid--cell" title="show questions tagged 'title'" rel="tag">title</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 15 '12 at 09:56">asked May 15 '12 at 09:56</time> <a href="../../users/1354445/tna0y" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1354445.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="tna0y" /> </a> <div class="s-user-card--info"> <a href="../../users/1354445/tna0y" class="s-user-card--link">tna0y</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1,842</li> <li class="s-award-bling s-award-bling__gold" title="3 gold badges">3</li> <li class="s-award-bling s-award-bling__silver" title="16 silver badges">16</li> <li class="s-award-bling s-award-bling__bronze" title="33 bronze badges">33</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-27953425"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>87</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>3</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/27953425/what-is-the-difference-between-aria-label-and-title-attributes" class="question-hyperlink">What is the difference between aria-label and title attributes?</a></h3> <div class="excerpt">I am used to use title="" attribute on my links/buttons/... to detail them. But bootstrap uses lots of aria-label="" attributes, for accessibility reasons as far as I understood. So I come up to create buttons like: <button id="show-raw-result" …</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/twitter-bootstrap" class="post-tag grid--cell" title="show questions tagged 'twitter-bootstrap'" rel="tag">twitter-bootstrap</a> <a href="../../questions/tagged/title" class="post-tag grid--cell" title="show questions tagged 'title'" rel="tag">title</a> <a href="../../questions/tagged/wai-aria" class="post-tag grid--cell" title="show questions tagged 'wai-aria'" rel="tag">wai-aria</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jan 14 '15 at 22:13">asked Jan 14 '15 at 22:13</time> <a href="../../users/731138/alain-tiemblo" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/731138.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Alain Tiemblo" /> </a> <div class="s-user-card--info"> <a href="../../users/731138/alain-tiemblo" class="s-user-card--link">Alain Tiemblo</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">36,099</li> <li class="s-award-bling s-award-bling__gold" title="17 gold badges">17</li> <li class="s-award-bling s-award-bling__silver" title="121 silver badges">121</li> <li class="s-award-bling s-award-bling__bronze" title="153 bronze badges">153</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-2181520"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>77</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/2181520/how-to-update-title-in-jquery-ui-dialog" class="question-hyperlink">How to update 'title in jQuery UI Dialog?</a></h3> <div class="excerpt"> Possible Duplicate: jQuery ui dialog change title after load-callback I like to change the title from an UI Dialog after I have submitted a form in this UI Dialog. So in the callback-function after load I should suggest, but I've tried and…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/title" class="post-tag grid--cell" title="show questions tagged 'title'" rel="tag">title</a> <a href="../../questions/tagged/jquery-ui-dialog" class="post-tag grid--cell" title="show questions tagged 'jquery-ui-dialog'" rel="tag">jquery-ui-dialog</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Feb 02 '10 at 02:24">asked Feb 02 '10 at 02:24</time> <a href="../../users/372487/guido-lemmens-2" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/372487.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Guido Lemmens 2" /> </a> <div class="s-user-card--info"> <a href="../../users/372487/guido-lemmens-2" class="s-user-card--link">Guido Lemmens 2</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">2,317</li> <li class="s-award-bling s-award-bling__gold" title="5 gold badges">5</li> <li class="s-award-bling s-award-bling__silver" title="23 silver badges">23</li> <li class="s-award-bling s-award-bling__bronze" title="29 bronze badges">29</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-14660372"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>77</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>5</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/14660372/common-main-title-of-a-figure-panel-compiled-with-par-mfrow" class="question-hyperlink">Common main title of a figure panel compiled with par(mfrow)</a></h3> <div class="excerpt">I have a compilation of 4 plots drawn together with par(mfrow=c(2,2)). I would like to draw a common title for the 2 above plots and a common title for the 2 below panels that are centered between the 2 left and right plots. Is this possible? </div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/r" class="post-tag grid--cell" title="show questions tagged 'r'" rel="tag">r</a> <a href="../../questions/tagged/graph" class="post-tag grid--cell" title="show questions tagged 'graph'" rel="tag">graph</a> <a href="../../questions/tagged/plot" class="post-tag grid--cell" title="show questions tagged 'plot'" rel="tag">plot</a> <a href="../../questions/tagged/title" class="post-tag grid--cell" title="show questions tagged 'title'" rel="tag">title</a> <a href="../../questions/tagged/par" class="post-tag grid--cell" title="show questions tagged 'par'" rel="tag">par</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Feb 02 '13 at 09:13">asked Feb 02 '13 at 09:13</time> <a href="../../users/906592/ecii" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/906592.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="ECII" /> </a> <div class="s-user-card--info"> <a href="../../users/906592/ecii" class="s-user-card--link">ECII</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">10,297</li> <li class="s-award-bling s-award-bling__gold" title="18 gold badges">18</li> <li class="s-award-bling s-award-bling__silver" title="80 silver badges">80</li> <li class="s-award-bling s-award-bling__bronze" title="121 bronze badges">121</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-4684363"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>76</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>4</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/4684363/how-to-change-the-window-title-of-a-matlab-plotting-figure" class="question-hyperlink">How to change the window title of a MATLAB plotting figure?</a></h3> <div class="excerpt">I have created a MATLAB plotting with the plot() function. How do I change the window title of the generated figure of the plotting? My MATLAB m-file which I'm working on: hold on x = [0; 0.2; 0.4; 0.6; 0.8; 1; 1.2; 1.4; 1.6; 1.8; 2; 2.2; 2.4; 2.6;…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/matlab" class="post-tag grid--cell" title="show questions tagged 'matlab'" rel="tag">matlab</a> <a href="../../questions/tagged/title" class="post-tag grid--cell" title="show questions tagged 'title'" rel="tag">title</a> <a href="../../questions/tagged/plot" class="post-tag grid--cell" title="show questions tagged 'plot'" rel="tag">plot</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jan 13 '11 at 19:32">asked Jan 13 '11 at 19:32</time> <a href="../../users/245376/hkbattousai" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/245376.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="hkBattousai" /> </a> <div class="s-user-card--info"> <a href="../../users/245376/hkbattousai" class="s-user-card--link">hkBattousai</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">10,583</li> <li class="s-award-bling s-award-bling__gold" title="18 gold badges">18</li> <li class="s-award-bling s-award-bling__silver" title="76 silver badges">76</li> <li class="s-award-bling s-award-bling__bronze" title="124 bronze badges">124</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <div class="s-pagination--item is-selected">1</div> <a class="s-pagination--item" href="../../questions/tagged/title_page=2" rel="" title="Go to page 2">2</a> <a class="s-pagination--item" href="../../questions/tagged/title_page=3" rel="" title="Go to page 3">3</a> <div class="s-pagination--item s-pagination--item__clear">…</div> <a class="s-pagination--item" href="../../questions/tagged/title_page=99" rel="" title="Go to page 99">99</a> <a class="s-pagination--item" href="../../questions/tagged/title_page=100" rel="" title="Go to page 100">100</a> <a class="s-pagination--item" href="../../questions/tagged/title_page=2" rel="next" title="Go to page 2"> Next</a> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>