The method of inputting square, cubic and other power schemes in Dreamweaver

Source: Internet
Author: User

When making a Web page with Dreamweaver, you sometimes need to enter something in the mathematical power form, such as the equation: y=2x3. The number in the upper-right corner of the equation should be called "superscript" when it is typesetting, or "subscript" if the number is in the lower-right corner of X.

The "superscript" corresponding HTML tag is sup ("subscript" corresponds to a sub label), and if you are proficient with HTML you can enter HTML code directly in Dreamweaver "Code View": Y=2x<sup>3</sup> It can also be done using a Dreamweaver visualization operation. For example, to complete this equation: y=2x3, you can enter the y=2x, then position the cursor after X, click Insert--"label", and the view automatically switches to Split view, and the tag selector appears. In the tag Selector, we select HTML tags--"formatting and layout"--"sup", as shown in the following figure:

After you make the above selections, click the Insert button in the tag selector and enter the superscript value 3 in the Contents box of the dialog box that appears, as shown in the following figure:

OK, and then click the Close button in the tag Selector to turn it off, and Dreamweaver inserts the superscript value entered into the location you just specified.

The method of inserting subscript is similar to this.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.