So far, we have not found a way to disable the tag using pure css. Do you really need JavaScript? In fact, there are many methods. The following describes how to disable the tag through js, jquey, and css. In fact, this problem has emerged when I
Designers optimize things frequently used by users on webpages, such as input boxes. How is the general input box optimized? For example, when the mouse is suspended in the input box, the color of the input box is changed, and the default text in
This article mainly introduces some labels used to set Font effects such as bold, skewed, underline, and strikethrough in html. If you are interested, refer
This is a bold font.
This is a skewed font.
This is an underlined font.
This
This article mainly introduces the HTML pop-up transparent layer. The size can be set or proportional. For more information, see
The Code is as follows:
LIGHTBOX EXAMPLE ScriptFunction show (tag ){Var light = document. getElementById (tag
This article describes how to use html unordered list tags and ordered list tags. For more information, see the following:
..
:
Upper Layer dtLower dd: The encapsulated content is automatically indented.
The Code is as follows:
This article describes in detail how to operate the parent page of the iframe subpage to shield the entire page and the layer to be displayed. Below is a good example for you to refer to the following question: In index.html, iframe is introduced to
This article introduces the issue of iframe node initialization: If the iframe element is not added to the DOM tree, the document in iframe is not initialized. Today, I suddenly want to review how the Rich Text Editor works. Then, let's talk about
How to set the auto-display scroll bar for the excess part in html. The following describes how to automatically display the scroll bar when the content in the div is exceeded. If you are interested, do not miss it on the html page, we sometimes
You need to use the hyperlink "a" without using href to complete the jump. After the onClick event is executed, "a" redirects to the address pointed by href, the following are two good solutions. We hope to help you sometimes use this hyperlink
Insert an audio file in html and play the audio file in the browser. After my local test, I summarized some problems as follows, if you are interested, you can refer to the following questions about how to insert an audio file in html and some
Sometimes, we want the text box in the form to be read-only so that users cannot modify the information. This article provides a variety of implementation methods. If you are interested, refer to Method 1:
Unavailable
Method 2:
Read-Only
Method
The DIV background is translucent, and the words in the DIV are not translucent. The following is a good example. If you are interested, you can understand that the DIV background is translucent, and the words in the DIV are not translucent.
The
Preview Effect
First Post:
The scroll bar appears locally, so that the overall style and layout will not be damaged.
Sample Code:
The Code is as follows:
Add a horizontal scroll bar to the html page
All-selection cancellation is often used in batch data operations. The following is a good example of using js to complete all-selection cancellation. For more information, see
The Code is as follows:
Untitled document
If you do not want to use the button to submit the form and want to use a nice image to submit the form, we will share with you the following method of using the image as a button for submission. The example cannot be missed.
The Code is as
There are two ways to add a script in html: directly adding javascript code to html and adding external js files. These two methods are commonly used. You can choose either method as needed.
Add a script in html:1. javascript code can be directly
I am sure you are not familiar with advertising articles. In this article, I will introduce you in detail how to use Html + CSS to implement floating ad articles. If you are interested, refer to section 1.html.
The Code is as follows:
The order in which the browser loads and renders html, how to accelerate loading of HTML pages, and how to load and parse HTML pages. In this article, we will introduce you in detail. Do not miss out if you are interested.
The order in which the
The map tag defines a client-side image ing. Image-map refers to an image with a clickable area. The following describes the use of map labels. If you are interested, you can understand that map labels must appear in pairs, that is
....
At
Add the click-send email function to the customer's footer mailbox, which provides simple links and complex links, and detailed parameter descriptions for complex links, if you are interested, you can refer to the recently added click send email
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