Private Sub Form_Load() WebBrowser1.Navigate "about:<html>你好<font size=9 color=red>不知你要的是这个意思吗?<font>你爱看<a href=www.cctv.com>中央台</a>的节目吗?<br>画条线看看<hr>注意哦,这样玩法对于写入WebBrowser1的内容长度是有限制的,太长就<font color=blue>不能显示</font>了哦~</html>" End Sub
Private Sub Form_Load() WebBrowser1.Navigate "about:<html>你好<font size=9 color=red>不知你要的是这个意思吗?</font>你爱看<a href=www.cctv.com>中央台</a>的节目吗?<br>画条线看看<hr>注意哦,这样玩法对于写入WebBrowser1的内容长度是有限制的,太长就<font color=blue>不能显示</font>了哦~</html>" End Sub 刚才少了一条“/”:)
WebBrowser1.Navigate "about:<html>你好<font size=9 color=red>不知你要的是这个意思吗?<font>你爱看<a href=www.cctv.com>中央台</a>的节目吗?<br>画条线看看<hr>注意哦,这样玩法对于写入WebBrowser1的内容长度是有限制的,太长就<font color=blue>不能显示</font>了哦~</html>"
End Sub
WebBrowser1.Navigate "about:<html>你好<font size=9 color=red>不知你要的是这个意思吗?</font>你爱看<a href=www.cctv.com>中央台</a>的节目吗?<br>画条线看看<hr>注意哦,这样玩法对于写入WebBrowser1的内容长度是有限制的,太长就<font color=blue>不能显示</font>了哦~</html>"
End Sub
刚才少了一条“/”:)
只能存成文件,然后用
WebBrowser1.Navigate "文件名"
读入