美文网首页
怎么在sciter界面的字段中增加换行符

怎么在sciter界面的字段中增加换行符

作者: 闭目鸽 | 来源:发表于2019-10-13 20:43 被阅读0次

一. 首先创建一个简单的sciter界面

具体代码如下:

<html>
  <head>
    <meta http-equiv="Content-Type" content="charset=UTF-8">
    <title>怎么在sciter界面的字段中增加换行符</title>
    <style>    
    </style>
    <script type="text/tiscript">
    </script>
  </head>
  <body bgcolor="#FFFFFF" >
    <h1>怎么在sciter界面的字段中增加换行符</h1>
  </body>
</html>

执行完的界面如下:

image

二. 具体的换行方式是使用 "< br >" 这个命令参数

具体做法为: 将body中的代码

<h1>怎么在sciter界面的字段中增加换行符</h1>

修改为如下的代码:

<h1>怎么在sciter<br>界面的字段中增加换行符</h1>

最终实现的结果如下:

image

三. 最终实现了在sciter界面中增加换行符的功能

相关文章

网友评论

      本文标题:怎么在sciter界面的字段中增加换行符

      本文链接:https://www.haomeiwen.com/subject/kmpkmctx.html