Spinbox HTML source code and spinboxhtml source code

Source: Internet
Author: User

Spinbox HTML source code and spinboxhtml source code

Interface effect:


HTML source code:

<Span style = "font-family:,, display: inline-block; white-space: nowrap; font-size: 12px; margin: 0px; padding: 0px; border: 1px solid rgb (164,190,212); width: 148px; "> <input type =" text "value =" 11 "id =" tbOrder "data-options =" min: 1 "numberboxname =" tbOrder "style =" outline: none; height: 21px; border: 0px solid rgb (127,157,185); line-height: 21px; padding-top: 0px; padding-bottom: 0px; resize: none; text-indent: 3px; width: 130px; "> <span style =" display: inline-block; vertical-align: top; margin: 0px; padding: 0px; "> <span style =" display: block; font-size: 1px; width: 18px; height: 10px; background: url (data: image/gif; base64, r0lGODlhCQAFAIABAE1hhf // records =) 5px 2px no-repeat rgb (224,236,249); "> </span> <span style =" display: block; font-size: 1px; width: 18px; height: 10px; background: url (data: image/gif; base64, R0lGODlhCQAFAIABAE1hhf // Signature =) 5px 3px no-repeat rgb (224,236,249 ); "> </span>

In this example, all intra-row styles are used to avoid deformation and dislocation caused by style overlay. The background image is encoded using Data Url, so you do not need to consider the image storage location.

Note: Code formatting may cause dislocation;



What is the HTML source code?

Well, HTML is a language for websites. Well, you can open a webpage, right-click any part of the webpage, select "View Source File", and click open it in notepad, And the content is full of HTML code. Please check it and hope it will help you! As for how to use this, there is a dedicated tutorial. Why do you go to Baidu Library to find the tutorial,

How to display it in html source code?

Haha, some friends upstairs may have spoken a little professionally. The landlord actually needs to know how we open the website. The general step is to "Open the browser" (1) -- "Enter the website" (2) -- "Press ENTER" (3) -- "view the corresponding website interface" (4); steps 2 and 2 do not need to be introduced, in step 2, press enter and you will find the corresponding server to request a webpage based on the IP address bound to the URL you entered. This is generally the homepage of the website, then how is this webpage transmitted from the server to the user? It relies on HTML. The server assembles the webpage and data requested by the user into a complete HTML source code, as described by friends on the second floor, the user's browser interprets the HTML code and displays the relevant pages according to the rules! If you want to see what the content of the current webpage is? Very easy. Right-click the blank part of the page and select "View Source File". You will see the source code of your current page.
 

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.