Change address bar text (HTML)

13 posts Page 1 of 2
Contributors
User avatar
Cheatmasterbw
Coding God
Coding God
Posts: 1506
Joined: Fri Jan 01, 2010 2:30 pm

In HTML, is there a way to change the text in the address bar to whatever you want?
http://www.megaapps.tk/
User avatar
Axel
Coding God
Coding God
Posts: 1928
Joined: Sun Jun 27, 2010 9:15 pm

Re: Change address bar text (HTML)
Axel
You mean like
bkm.PNG
You do not have the required permissions to view the files attached to this post.
http://vagex.com/?ref=25000
User avatar
bisnes_niko
Serious Programmer
Serious Programmer
Posts: 409
Joined: Tue Aug 24, 2010 1:21 pm

Address bar is where you enter site URL, not site title
User avatar
Axel
Coding God
Coding God
Posts: 1928
Joined: Sun Jun 27, 2010 9:15 pm

Re: Change address bar text (HTML)
Axel
Yea but the changing the url trough html is kinda impossible so I suggested that
http://vagex.com/?ref=25000
User avatar
mandai
Coding God
Coding God
Posts: 2585
Joined: Mon Apr 26, 2010 6:51 pm

Re: Change address bar text (HTML)
mandai
You can't change it before the browser has already navigated to that page.
User avatar
mikethedj4
VIP - Site Partner
VIP - Site Partner
Posts: 2592
Joined: Thu Mar 25, 2010 4:36 am

The address bar is where you put the URL to the website, if you're talking about the title (the screenshot Axel posted, this is how you do it)

To change the title of your website in HTML you wanna put the title tags in your head tags, and the html tags should start in the beginning of your code, and the ending of your code.

ex.
Code: Select all
<html>
    <head>
	<title>Website Title Here</title>
    </head>
</html>
Here's another example of a basic webpage coded in HTML, and CSS, just look at where/how the html, head, and title tags are positioned.
Code: Select all
<html>
<head>
<title>Example Site</title>
</head>

<style type="text/css">
body {
	background-color:#000;}

#div1 {
	position:absolute;
	top:0px;
	left:50%;
	width:600px;
	height:600px;
	margin-left:-300px;
	background-color:#1c1c1c;
	color:#4a4a4a;
	border:4px ridge #4a4a4a;
	-webkit-box-shadow:#1c1c1c 0px 0px 16px;}
</style>

<body>
<div id="div1">
	<div align="center">
		<big><strong>RULES!</strong></big>
	</div>

	<ol>
		<li>Be Respectful</li>
		<li>Be Responsible</li>
		<li>Be Honest</li>
	</ol>
</div>
</body>
</html>
Last edited by mikethedj4 on Thu Apr 14, 2011 9:36 pm, edited 1 time in total.
User avatar
Axel
Coding God
Coding God
Posts: 1928
Joined: Sun Jun 27, 2010 9:15 pm

Re: Change address bar text (HTML)
Axel
mikethedj4 wrote:
You're talking about the title, not the address bar, the address bar is where you put the url down of the website in which to go to.

To change the title of your website in HTML you wanna put the title tags in your head tags, and the html tags should start in the beginning of your code, and the ending of your code.

ex.
Code: Select all
<html>
    <head>
	<title>Website Title Here</title>
    </head>
</html>
Here's another example of a simple website coded in HTML, and CSS, just look at where/how the html, head, and title tags are positioned.
Code: Select all
<html>
<head>
<title>Example Site</title>
</head>

<style type="text/css">
body {
	background-color:#000;}

#div1 {
	position:absolute;
	top:0px;
	left:50%;
	width:600px;
	height:600px;
	margin-left:-300px;
	background-color:#1c1c1c;
	color:#4a4a4a;
	border:4px ridge #4a4a4a;
	-webkit-box-shadow:#1c1c1c 0px 0px 16px;}
</style>

<body>
<div id="div1">
	<div align="center">
		<big><strong>RULES!</strong></big>
	</div>

	<ol>
		<li>Be Respectful</li>
		<li>Be Responsible</li>
		<li>Be Honest</li>
	</ol>
</div>
</body>
</html>
I said he was talking about the title -.-
http://vagex.com/?ref=25000
User avatar
mikethedj4
VIP - Site Partner
VIP - Site Partner
Posts: 2592
Joined: Thu Mar 25, 2010 4:36 am

I realized that after I posted the reply, cause I read the comments after I posted instead of before.
User avatar
Axel
Coding God
Coding God
Posts: 1928
Joined: Sun Jun 27, 2010 9:15 pm

Re: Change address bar text (HTML)
Axel
Lol np dude
http://vagex.com/?ref=25000
User avatar
Cheatmasterbw
Coding God
Coding God
Posts: 1506
Joined: Fri Jan 01, 2010 2:30 pm

I was talking about the URL/address bar. I am just curious, because I think it it would be fun to make messages, etc. in there.
http://www.megaapps.tk/
13 posts Page 1 of 2
Return to “Tutorials”