2017-03-25 25 views
0

假设我有一个叫的Index.html文件,并呼吁another.html另一个文件,当我点击another.htmlIndex.html我想头这样Index.html/Another.html,有没有可能?我要像在HTML网页的索引/ anotherpage链接

+0

你是什么意思的标题? – mehulmpt

+0

你不能只使用HTML。 –

+0

使用宁静的框架..如果您使用php,请尝试codeIgniter ...您将能够使url看起来像你想要的。 –

回答

0

如果你想到一个导航栏,你可以将它从index.html复制粘贴到another.html或者使用frgmantation策略来避免在多个地方使用相同的代码。

如果你正在谈论的网址,你可以与标题标签标题指定此:

<title>index/another.html</title> 

但是这将是不好的风格说的index.html/another.html而是使用索引/其他.html