3
I noticed that some web pages use %header%
and %footer%
to put the header and footer among other things (I saw this in themes for Opengame Panel), I did not understand how they work and how the browser will get such a header and footer.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator" content=
"HTML Tidy for Linux/x86 (vers 25 March 2009), see www.w3.org" />
<title>%title%</title>
<link rel="stylesheet" type="text/css" href= "themes/Metro/style.css" />
<link href='themes/Metro/images/favicon.ico' rel='icon' type='image/x-icon'/>
<meta http-equiv="Content-Type" content="text/html; charset=%charset%" />
%header_code%
</head>
<body>
%meta%
%body%
</body>
</html>
Show a page that has this, post the code.
– Maniero
Can be the markings of a tempalte engine.
– rray
Yes no doubt and some template engine but n entedi how it works.
– João Reis
I posted an example.
– João Reis
Which extension is the file?
– rray
the extension and . html
– João Reis