+ 1
Can't we change the style of title using CSS?
This was my code <title style=" color:green; background-color:black;"> Test Page </title> It didn't work:( Is there any problem in the code??
14 Respostas
+ 5
The problem is that you are probably using title tag to write something in the page like "This is my title"
but the title tag is the wrong tag to use in this case.
You've to use the h1 tag <h1>...<h1> to display your title in the page.
Title tag is used to display the name of the window...near the favicon!
+ 3
No we can't
Reasons given by several friends so I don't repeat.:-)
+ 3
no need to change title style
+ 2
you cannot style the title of a webpage. css only allows you to style everything inside the body tag.
+ 2
no no never you can't apply any style to title or anythinges between tag <head>.......</head> ^^
+ 1
okay I actually just reread ur question and like the others Said no. besides the title that you seem to wanna change would be the one displayed on the browser tab ?!
+ 1
NO of course you can't .. cuz the web browser shows all titles in the same way and you can't change it
+ 1
<title> tag goes inside the <head> tag. you can only style everything inside the <body> tag.
+ 1
No because whatever you write in a title tag that is shown by the browser in title bar. That would definitely be same for all other pages too cus it's the tittle of your web page. Styling that cannot be done.
U want to make test page green with background and want to display that as an information shown on your web page go for heading tag.
0
No
0
its need change the metadata. it same like you change the icon in title bar.
0
no
0
of course no :)
0
you can put <marquee> tag inside your title tag to animate the text of you title like 90's pages :p