官术网_书友最值得收藏!

Using tags in text files

In this section, we will discuss inserting tags from the Palette into our text files. This is a very simple task that consists of the following steps:

  1. Navigate through the Palette until you see the tag that will be inserted.
  2. Click on this tag as you click on any button.
  3. If the tag has attributes, then you will see the Insert Tag window that allows you to customize the values of these attributes (the following screenshot represents the Insert Tag window for the <table> tag that can be found in HTML group, Table tag library). Note that if the selected tag doesn't have any attributes to be set, then this step will be skipped and the tag will be inserted into your page.
    Using tags in text files
  4. After you have set the values of the attributes, simply click the Finish button. This action will automatically insert the chosen tag into your page. For example, in the following screenshot you can see the effect of inserting the <mytable> tag, created in the Create a new tag section, into an empty HTML page.
    Using tags in text files

If you followed Chapter 2, then now you should have an empty project named test. Expand the test | WebContent node, right-click on it, and select New | Other option. In the New window, expand Web node and select HTML leaf. Type example (without the .html extension) in the File name field and click on the Finish button. Now, you have the shown example.html page and you can try to add our tag to it. Also, you can play with other tags to get used to them! In the following chapters this will be no more a task, it will simply be routine.

主站蜘蛛池模板: 马龙县| 万源市| 西昌市| 广昌县| 札达县| 柘城县| 额尔古纳市| 兴仁县| 钟祥市| 平顺县| 阳城县| 古田县| 葫芦岛市| 额济纳旗| 陆良县| 镶黄旗| 平果县| 克山县| 霍州市| 麟游县| 确山县| 东阿县| 河曲县| 太谷县| 同心县| 宾阳县| 封丘县| 文山县| 博客| 皮山县| 肃宁县| 杭锦后旗| 蓝山县| 云霄县| 华池县| 利川市| 鸡泽县| 腾冲县| 商河县| 松溪县| 凯里市|