Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

C#.netÖÐÓÃWinForm½ÓÊÕhtmlÒ³ÃæÏûÏ¢µÄ³ÌÐò

Ê×ÏÈдһ¸öÒ³Ã棬ÉÏÃæÒª·ÅÒ»¸öButton
<html>
 <head>
  <title></title>
 </head>
 <body>
        <input id="Button1" type="button" value="button" />
 
 </body>
</html>
½«Æä±£´æÔÚHomePage.htmÖУ¬
Ö®ºóÎÒÃǽ¨Ò»¸öWinForm£¬
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace SXT.Frame.Ctrler.Test
{
    public partial class HtmlUi : Form
    {
        public HtmlUi()
        {
            InitializeComponent();
            this.webBrowser1.Navigate("D:\\SXT\\bin\\Debug\\HomePage.htm");//±¾µØÎļþ·¾¶
        }
        private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
        {  
            HtmlDocument htmlDoc = this.webBrowser1.Document;
            HtmlElement btnElement = htmlDoc.All["Button1"];
            if (btnElement != null)
            {
                btnElement.Click += new HtmlElementEventHandler(btnElement_Click);
            }
        }
        void btnElement_Click(object sender, HtmlElementEventArgs e)
&n


Ïà¹ØÎĵµ£º

6¸ö²»³£ÓõÄHTML±ê¼Ç

ͻȻһ´Î£¬ÏëÊäÈëÉÏϱ꣬editor²»Ö§³Ö£¬ÓÚÊǺõËѵÃÒÔ϶«¶«¡£ ÓеÄHTML±êÇ©Äã¿ÉÄÜ´ÓδʹÓùý£¬²»ÊÇÒòΪÄãǷȱѧϰ¾«Éñ£¬¶øÊÇËüÃÇȷʵÓô¦²»´ó¡£Èç¹ûÄãÓÐ̽Ë÷¾«Éñ£¬ÄǾͽÓ×ÅÍùÏ¿´°É¡£ µÚÒ»¸ö£ºabbr »ò acronym
ÕâÁ½¸ö±êʶÊÇÒ»»ØÊ£¬Ö÷ÒªÊÇÓÃÓÚһЩӢÓïµÄËõд£¬µ±Äã°ÑÊó±êÒÆÉÏÈ¥µÄʱºò£¬Äã»á·¢ÏÖ»á³öÏÖÒ»¸öСÌáʾÀ´Ì ......

C#ÖÐÓÃSYSTEM.XML¶ÁдXML˵Ã÷Óë´úÂë

<?xml version="1.0" encoding="utf-8"?>
<LinkLibrary xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Link Cat="aa" Url="aa" Desc="aa" />
<Link Cat="bb" Url="aa" Desc="aa" />
<Link Cat="cc" Url="aa" Desc="aa" />
&l ......

HTML±í¸ñרÓÐÊôÐÔºÍCSS


HTML±í¸ñºÜÈÝÒ×ÉÏÊÖ£¬Ò»¶Ñtr¼Ótd¾Í¿ÉÒÔÏÔʾһÕűí¸ñÁË¡£¸´ÔÓÒ»µã¾ÍÊÇÔÙ¼ÓÉÏth£¬colgroup£¬tbody£¬tfooter£¬captionÖ®Àà¡£ÕâЩHTMLÀïÃæµÄ¸÷ÖÖÔªËصÄÈ·¼ÓÇ¿Á˱í¸ñµÄʵÓÃÐÔºÍÓïÒ廯£¬µ«table±¾Éí¾ÍÓкܴóѧÎÊŶ£¬±Ï¾¹ÊÇÕû¸ö±í¸ñµÄ¸ù°¡£¡
½ñÌìÏÂÃæÒª×ܽá°üº¬¶Ôtable±¾ÉíµÄÊôÐÔ¹éÄɺÍtableרÓõÄCSS±È½Ï£º
attributes VS CSS ......

html±êÇ©´óÈ«

¾²Ì¬½á¹¹
£¼html£¾
£¼head£¾
£¼title£¾±êÌ⣼title£¾
£¼/head£¾
£¼body£¾..........ÎļþÄÚÈÝ..........
£¼/body£¾
£¼/html£¾
1.Îļþ±êÌâ
£¼title£¾..........£¼/title£¾
2.Îļþ¸üÐÂ--£¼meta£¾
¡¡¡¾1¡¿10Ãëºó×Ô¶¯¸üÐÂÒ»´Î
¡¡¡¡£¼meta http-equiv="refresh" content=10£¾
¡¡¡¾2¡¿10Ãëáá×Ô¶¯Á¬½áµ½ÁíÒ»Îļþ
¡¡¡¡ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ