About 1,180,000 results
Open links in new tab
  1. How to apply color on text in Markdown - Stack Overflow

    Markdown does not natively support text color, but you can use HTML tags or CSS for adding color to text.

  2. How to highlight text using javascript - Stack Overflow

    Dec 27, 2011 · Can someone help me with a javascript function that can highlight text on a web page. And the requirement is to - highlight only once, not like highlight all occurrences of the …

  3. Selecting text in an element (akin to highlighting with your mouse)

    I would like to have users click a link, then it selects the HTML text in another element (not an input). By "select" I mean the same way you would select text by dragging your mouse over it. …

  4. syntax - text highlight in markdown - Stack Overflow

    Discover how to highlight text in Markdown syntax effectively on Stack Overflow, with tips and examples for better code readability.

  5. Selecting all text in HTML text input when clicked

    Nov 1, 2010 · 95 The previously posted solutions have two quirks: In Chrome the selection via .select () doesn't stick - adding a slight timeout resolves this issue. It's impossible to place the …

  6. html - How does `#:~:text=` in URL work to highlight text? - Stack …

    Jul 20, 2020 · 63 TL;DR How/why are some browsers able to search and highlight text in the HTML body which is followed by #:~:text= in the URL? Explanation One day I was searching …

  7. Auto-highlight an input field on focus - Stack Overflow

    Apr 8, 2013 · Learn how to auto-highlight an input field on focus using JavaScript and jQuery solutions provided by the Stack Overflow community.

  8. Color (syntax highlighting) within an HTML <code> tag

    When I do "View source", I don't see anything special in the HTML that would implement this color-coding. How and/or where is this syntax-specific color-highlighting implemented, then? …

  9. css - How to disable text selection highlighting - Stack Overflow

    I had a section I didn't want highlighting in prosemirror but since text is highlighted programmatically, the text wasn't necessarily selected (doesn't get copied with ctrl + C) but the …

  10. javascript - How to highlight text? - Stack Overflow

    57 I'm trying to highlight text matching the query but I can't figure out how to get the tags to display as HTML instead of text.