PHP ueditor 的代码高亮
<!DOCTYPE html> <html lang="zh-cn"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no"> <title>新建H5模板</title> <link rel="stylesheet" href="css/base.css" /> <!--高亮的代码 begin--> <link rel="stylesheet" href="third-party/SyntaxHighlighter/shCoreDefault.css" /> <script src="third-party/SyntaxHighlighter/shCore.js"></script> <script> SyntaxHighlighter.all(); </script> <!--高亮的代码 end--> </head> <body> <h3> <p> HTML内容的开始 </p> <pre class="brush:html;toolbar:false"><!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no"> <title>新建H5模板</title> <style type="text/css"> body{ font-family:\5FAE\8F6F\96C5\9ED1,'Arial'; color:#5b5b5b; background-color:#fff; font-size:14px; overflow-x:hidden;} a{ color:#333; text-decoration:none;} a:hover{ color:#333; text-decoration:none;} img{ border:none;} i,em{ font-style:normal;} li{ list-style-type:none;} textarea{ resize:vertical;} input, select, textarea{ font-family:\5FAE\8F6F\96C5\9ED1,'Arial'; background-color:#fff margin:0; padding:0; outline:none;} </style> </head> <body> <h3>阅谁问君诵,水落清香浮</h3> <script type="text/javascript"> alert("测试吧"); </script> </body> </html></pre> <p> HTML内容的结束<br/> </p> </h3> </body> </html>
效果图:
相关推荐
fenghuoliuxing0 2020-08-01
yhuihon 2020-05-31
苗疆三刀的随手记 2020-05-27
玫瑰小妖 2020-05-10
心丨悦 2020-05-08
zhanghaibing00 2020-04-21
Lius 2020-02-14
vshacker 2020-01-28
James0 2019-12-15
rootdream 2019-11-17
zycglboy 2019-11-12
Urchindong 2011-08-01
Mexican 2014-03-19
genglang 2018-08-17
89589432 2019-09-22
本文实例为大家分享了vue elementUI表格关键字筛选高亮的具体代码,供大家参考,具体内容如下。<el-input type="search" v-model="search" style="w
Johnjianyo 2019-05-28
技术相关 2019-04-23