This article mainly introduces the specific use of P tags in HTML and some of the functions, there are examples of explanations, then let's take a look at this article about the HTML p tag
First we look at the HTML p tag is a single label
[Beginner] an in-depth study of the tag library in JSP-general Linux technology-Linux programming and kernel information. The following is a detailed description. Taglib
Tags are defined and distributed in a structure called the tag library. A tag
Taglib
Tags are defined and distributed in a structure called the tag library. A tag library is a set of metadata and classes:1. Tag Processor: Java class that implements the custom tag function.2. Tag additional information (TEI): provides edge
Cause: When doing the project found that the original in the DW error code in the MyEclipse6.0 inside but prompted n many errors, is very surprised. So the reason, found that block-level element p is not nested div.Bottom-up: Let's first recognize
Js uses the html () or text () method to obtain the value displayed for setting the p tag, jstext
Html () method
This method is similar to the innerHTML attribute in JavaScript and can be used to read or set the HTML content in an element. To obtain
Take a look at the following example and you can see the difference between the two: test the difference between the block element and the inline element test the difference between block element and inline elements In the example above,, will
Cause: When doing the project found that the original in the DW error code in the MyEclipse6.0 inside but prompted n many errors, is very surprised. So the reason, found that block-level element p is not nested div.Bottom-up: Let's first recognize
The use of big tags in html, big tags are known to be a base of the enlarged label, but we all add the big tag in what element, today this article tells the details of adding big tags in several elements, and now start reading this article
First we
The html () method can be used to read or set the HTML content of an element. The text () method can be used to read or disable the text content of an element.
Html () method
This method is similar to the innerHTML attribute in JavaScript and can
HTML () method
This method is similar to the innerHTML property in JavaScript, and can be used to read or set HTML content in an element. To get the contents of an element, you can do this:
Copy Code code as follows:
var p_html = $
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.