One, the tags in the HTML
The code for the page that was automatically generated by Dreamweaver on the previous lesson is:
"
HTML is a Hypertext Markup language made up of a bunch of tags. The above code altogether has 9 labels.
The label always appears in pairs, where the first character is an English-letter label called the start tag, and the "/" slash sign is called the end tag in
1.2.3.? Echo ' This is the simplest, a SGML processing instruction ';?>4.The 1 and 2 in the example above are always available, where 1 is the most commonly used and recommended.The short mark (Example 3) is only available after the instruction Short_open_tag in the php.ini configuration file is opened, or the--enable-short-tags option is added to PHP compilation.Note: If you use PHP 3, you can also invoke the short mark via the Short_tags () function
Strip_tags function
Strip_tags---To remove html and PHP tags from strings
Syntax: string strip_tags (String str [, String allowable_tags])
Cases
The code is as follows
Copy Code
$text = ' echo Strip_tags ($text);echo "n";Allow Echo strip_tags ($text, ' ?>
Regular filter all kinds of labels, spaces, line feed
The code is as follows
Copy Code
$str =preg_replace ("/s+/", "", $str); Fi
Introduction
Your personal site even if you do a wonderful, in the "vast sea" of cyberspace, also such as skiff not easy for people to find, how to promote personal website, people first thought of the method is not outside the following several: Log in to your personal site in search engines Add a link to your personal site on a reputable website
Post in the forum to promote your personal website
Many people ignore the powerful effect of HTML tag meta, a good meta tag design can greatly impro
This article mainly introduces the HTML tbody tag is not block-level elements, as well as the basic use of HTML tbody tags, and then let's look at this article about HTML tbody tags
First we need to know what block-level elements and inline elements are:
block-level elements , typically starting from a new row, can hold inline elements and other block elements, common block-level elements such as div
This article mainly introduces the introduction of the HTML frame tag, the definition and properties of frame tags, as well as the use of important HTML IFRAME tags introduction. Let's see this article together
Let's take a look at the definition of this article first:
Each frame in the frameset can have different properties set, such as border, scrolling, noresize, and so on.
Note: If you want to verify
In the Word2013 document, you can print XML tags when you print an XML document by enabling the Print XML markup feature. To enable printing of XML tags, the following steps are described:
Step 1th, open the Word2013 document window, click the file → options command, and so on, as shown in Figure 1.
Figure 1 Selecting the Options command
Step 2nd, open the Word Options dialog box and switch to the
Since forums and chat rooms are open systems, every user with permission can speak freely. But often there are some malicious users will use their openness to make trouble, such as in chat or in the forum when the article, embedded HTML tags, so that the system confusion. Therefore, if you want to write a robust forum or chat room, you must filter the HTML tags sent by the user.
Let's analyze how to filter
:: Selection;
Implement media Query (@media), Multi-column layout (flex).
(3) The removed element
Elements of pure expression: basefont,big,center,font,s,strike,tt,u;
Elements that have a negative impact on usability: frame,frameset,noframes;
(4) HTML5 new label browser compatibility problem is that the browser does not recognize the HTML5 new label and can not be used, there are two ways to solve:
Method 1: Implement the label is recognized
The Document.
The header describes the homepage:A hyperlinkUL unordered HTML ListThe LI Tag Definition list item label can be used in a sequence list (b tag specifies bold textDiv can define a partition or section in a documentNav label defines the part of the navigation linkSpan tags are used to combine inline elements in a document.Script tags are used to define client-side scripting JavaScriptLink tag defines the rela
What is HTML
Hypertext Markup Language
HTML syntax rules
All commands are put to Most pairs exist, starting with
Basic framework of Web pages, commonly used tags
Classification of tags
Container Tags: tokens that appear in pairs.Empty tag: a token that does not appear to be paired. BR HR single Mark
Attribut
tab triggers an event that is used in a text box
OnActivate = NULL//event occurs when the control is triggered (clicked or the focus moves to the label)
ScrollLeft = 0//The width of the left border involved
Lang = en-US/The language attribute, unlike language, this is equivalent to the Web language
OnMouseMove = NULL//When the mouse moves on the label, an event occurs
The event is triggered when the window of the OnMove = NULL//browser is moved
Onselectstart = NULL//When the text in this label
When we browse the Web page often see dazzling color tags, and each refresh browser, will be updated for different Yan, is not very "stunning"? Now let's take a look at the realistic approach to thinkphp. Project function library location: Project \common\common.php Project function library Add the following handler function 1 function Rcolor () { 2 $rand = rand ( 0,255)//randomly acquire 0--255 number 3 return sprintf ("%02x", "$rand");/output
Because there are more manual articles, add tag label when always to switch input method, very troublesome, in the online look, see almost all of the same person sent articles are reproduced, the code is actually wrong, simply can not use, after many comparisons, I this rookie finally found the problem, I have been in the small station of the opera tribe Www.54gh.com used, and now share to everyone:
Online Circulation:
The following are the referenced contents:
Open: include\archives.func.php
the major search engines can see some relevance of the domain name is included, but this is only to the extent of the site domain name to play a little role.
Do not talk about the use of nofollow tags in the site construction, but in terms of outside the chain work, the author believes that the chain with nofollow label can only be a kind of performance of labor workers. Simply put, if a page has a link to the B page, but a page to th
Tutorials | Web page Since the purpose of the HTML beginner tutorial is simply to teach the skeleton elements of HTML, this intermediate tutorial adds some flesh and blood, which should not be particularly difficult, but can further enhance our understanding of HTML so that we can do more useful things.
HTML is just a means to content, and most HTML tags have meaning (tag p creates paragraphs, H1 tags to
classes;
Create a *.tld file, each *.tld file corresponding to a tag library, each tag library corresponding to multiple tags;
Use custom labels in your JSP files.
Developing Custom Label Classes
Tag Library and actual development
Tag libraries are a very important technology, and often beginners and ordinary developers have little chance of developing their own tag libraries, but if you want to be a senior programmer, or want to develop a gener
In a Word 2010 document, you can print XML tags when you print an XML document by enabling the Print XML markup feature. To enable printing of XML tags, the following steps are described:
Step 1th, open the Word 2010 document window, click the file → options command, and so on, as shown in Figure 2011121303.
Figure 2011121303 Selecting the Options command
Step 2nd, open the Word Options dialog box and
In the Word2013 document, you can print XML tags when you print an XML document by enabling the Print XML markup feature. To enable printing of XML tags, the following steps are described:
Step 1th, open the Word2013 document window, click the file → options command, and so on, as shown in Figure 2013041905.
Figure 2013041905 Selecting the Options command
Step 2nd, open the Word Options dialog box and
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.