淘宝网站许多页面地址后缀名为什么是HTML?

淘宝网站许多页面地址后缀名为什么是HTML?,第1张

呵呵 我以前也以为所有以‘.html’为后缀的为静态网页后来才知道错了,很多网站你看到是以‘.do’做后缀名,是因为项目可以通过这样的后缀名来拦截一些东西比如当前这个页面是以‘.htm’结尾,项目其实只要用到'q172323144'这个信息,后面什么不只要,也就是一个虚的,而‘.htm’只是用来获得前面的那段信息,而你看到淘宝的就是一个以'.html'的虚后缀名,并不是一个文件名为‘.html’,再打个比方‘www.baidu.com/aaa.html’(当然不存在)它指向的并不一定是一个文件名为aaa.html,有可能是文件名为bbb.jsp

<div style="overflow:hiddenclear:bothbackground:#ffffont-family:arialcolor:#646464zoom:1border:1pxsolid #008ffe">

<div style="float:leftpadding:14px 10px 0 15px_padding:16px 10px 015px">

<h3>本店搜索</h3>

</div>

<div style="float:leftpadding-bottom:10px"><form method="get"action="店铺地址/category.htm" name="SearchForm"><input type="hidden" value="y" name="search">

<ul>

<li style=" overflow:hiddenmargin-top:10pxfloat:left">

<label for="keyword"> <input type="text"class="keyword-input J_TKeyword prompt" value=""autocomplete="off" name="keyword" size="18"style="height:20pxline-height:20pxwidth:260pxmargin-right:6pxtext-indent:4pxcolor:#333background:#FFFborder:1px solid #ddd">

</label>

</li>

<li style=" overflow:hiddenmargin-top:10pxfloat:left"><input type="submit" class="J_TSubmitBtn btn" value="搜索"style="background:#555555width:48pxheight:22pxline-height:22pxmargin-left:10pxborder:nonecolor:#FFFfont-weight:700cursor:pointer">

</li>

</ul>

</div>

</div>


欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/zaji/8323627.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2023-04-15
下一篇2023-04-15

发表评论

登录后才能评论

评论列表(0条)

    保存