Friday, June 19, 2020

How to highlight text in a web page


When you share a URL to a long article, sometimes you want to highlight certain text to make your point.

Chrome has the text highlight feature.

For example, a plain link to a Wikipedia article.
https://en.wikipedia.org/wiki/Coronavirus
If you want to highlight a short sentence, you can put #:~:text= at the end of URL and followed by the text to be highlighted.
https://en.wikipedia.org/wiki/Coronavirus#:~:text=their%20origin%20in%20bats

If you want to highlight a long paragraph, the URL may become too long to share. In this case, you can put start text and end text with a comma in the middle. That is, #:~:text=startText,endText.

https://en.wikipedia.org/wiki/Coronavirus#:~:text=Many%20human,finally%20to%20humans
For more details, visit the the link.

No comments:

Post a Comment

How to get the WiFi password from a saved profile on Windows

Sometime you forgot the WiFi password for some place you have visited, and you do have a saved profile on your Windows laptop. With a couple...