Hi, everyone,
I want to compose an HTML file so I can swap the bgcolor when I use it. To do it. I want to compose an HTMl as follows and save it on the server.
<html>
<head>
<title></title>
</head>
<body bgcolor="{mybgcolor}">
<h1>Hello world!</h1>
<font face="Verdana" COLOR="{headbgcolor}">Presented </font>
</body>
</html>
However, the editor changes the code bgcolor="{mybgcolor}" into bgcolor="#00c000"
<html>
<head>
<title></title>
</head>
<body bgcolor="#00c000" >
<h1>Hello world!</h1>
<p><font face="Verdana" color="{headbgcolor}">Presented </font></p>
</body>
</html>
I want to compose an HTML file so I can swap the bgcolor when I use it. To do it. I want to compose an HTMl as follows and save it on the server.
<html>
<head>
<title></title>
</head>
<body bgcolor="{mybgcolor}">
<h1>Hello world!</h1>
<font face="Verdana" COLOR="{headbgcolor}">Presented </font>
</body>
</html>
However, the editor changes the code bgcolor="{mybgcolor}" into bgcolor="#00c000"
<html>
<head>
<title></title>
</head>
<body bgcolor="#00c000" >
<h1>Hello world!</h1>
<p><font face="Verdana" color="{headbgcolor}">Presented </font></p>
</body>
</html>