Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

163
Views
How to hide title and link html tag using css

I have been trying to hide title and link tag using internal css, but it is not working.

<link rel="shortcut icon" href="./favicon.png">
<title>app · Streamlit</title>

I wanted to hide these two using css or js, Any solution?

about 4 years ago · Santiago Gelvez
2 answers
Answer question

0

There is nothing that you can do with CSS.

<title>app · Streamlit</title>

This is how you could set an empty text:

document.querySelector('title').innerHTML = '';

Or you could also remove that tag:

document.querySelector('title').remove();

<link rel="shortcut icon" href="./favicon.png">

Removing the value ./favicon.png will not help, so you will need to set an empty icon:

document.querySelector('link[rel~="shortcut"]').setAttribute('href', 'data:image/x-icon');
about 4 years ago · Santiago Gelvez Report

0

CSS cannot touch the browser chrome. It can't change the favicon or title in the address bar / browser tab / window title bar.

It can only affect the document in the viewport.

about 4 years ago · Santiago Gelvez Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!