This article mainly introduces the role of rel "nofollow" in HTML and the use of rel attributes. rel "noflow is used to tell crawlers not to track this link, which is often used in SEO, if you need the link, you can add the rel = "nofollow" attribute, indicating that the search engine does not need to trace the connection and therefore does not transmit the weight. careful webmasters may find that this attribute is added to the links of many blogs, so
Historical issues of HTML and historical issues of HTML
1.Once upon a time, HTML designers thought that there should be other styles in the future, but now we have realized that the facts show that, you can only use
---- Head First HTML and CSS P29
2.
The HTML5 specification clearly states that the use of elem
The content in CDATA (possibly non-standard Html code) is displayed in Html format. Recently I wrote a combination of XML + XSL and Html, and someone asked me how to display the content in CDATA in Html format (especially the Html written by users is not standard ). I wanted
Html: hypertext markup language; xhtml: extensible hypertext markup language; xml: extensible markup language. For more information, see the development trend of this article:
Html (Hypertext Markup Language)-xhtml (Extensible Hypertext Markup Language)-xml (Extensible Markup Language );
Html:
1. Not case sensitive;
2. tags do not need to appear in pa
HTML framework
What is a frame: dividing the browser into different parts, each loading a different page to achieve the effect of loading multiple pages in the same browser window.
Syntax Format:
Property:
COLS uses "pixel value" and "%" to split the left and right windows, "*" for the remainder. Using "*,*,*" means that the frame is divided evenly into 3. Using "*,*" means that the frame is divided evenly into
Knowledge is summed up, then write it down!For example, the background HTML string isvar htmlstr= "background html string";transcodingvar HTML format Code =decodehtml (HTMLSTR);Just call the following JS method on the line functiondecodehtml (s) {varHtml_decode = { ", "gt;": ">", "amp;": "", "nbsp;": "", "quo
Convert some of the predefined characters to HTML entities and precede predefined characters with backslashes, including single quotes, double quotes, backslashes, and NULL to secure the database
Convert some of the predefined characters to HTML entities and precede predefined characters with backslashes, including single quotes, double quotes, backslashes, and NULL to secure the database tutorial
func
Html exercises (5) and html exercises
This exercise shows the positioning and relative positioning of data;
Here is the positioning of html:
1. static positioning
This is the default method. For static, left and right do not take effect.
2. relative positioning (relative positioning)
The element frame deviates from the position of its stream (positioned by left
Dynamic HTML auto-rendering, dynamic HTML Rendering
In the past two days, I wrote a front-end with EasyUI. When I dynamically added HTML content to Layout, the problem was not automatically rendered. I checked the online materials and found the solution as follows:
$ ("# Content" pai.html (data); $. parser. parse ("# content ");
Where, # content is the layou
HTML form creation, uploading to server, html form
Form:
Info.html
:
Server:
Result. php
How can I upload the form data in HTML to the tomcat server (configured) where the html webpage file is stored? How to Write in form?
We recommend that you learn the website basics or add someone Q to help you solve the
When a guest comments and posts, we do not want visitors to use the HTML tag in the message and post, so when the guest submits the message and the post, I have to delete the HTML tag, the following function is to implement this function
function delete_htm ($SCR)
{
for ($i =0; $i
{
if (substr ($SCR, $i, 1) = = "{
while (substr ($SCR, $i, 1)! = ">") $i + +;
$i + +;
}
$str = $str. substr ($SCR, $i, 1);
}
In MVC, if you output a string in the form of a @string (string that contains HTML code), the corresponding HTML tag is automatically escaped, and if you want to output HTML directly, the following methods are available: @ (New htmlstring ("H1>asdfasdH1>From the internet also found, a method, but I try to fail, also no detailed research, here also posted out @
The properties of 1.HTML are always specified in the start tagFor example, the HTML link is defined by the 2. More examples of HTML attributes:***3. The attribute writing proposal is lowercase; always enclose the value of the attribute (if the property itself has double quotation marks, use a single quotation mark outside)HTM
There are three ways to link the
--
--
HTML> Head> title>Link to external CSStitle> Linktype= "Text/css"rel= "stylesheet"href= "Style.css"/> Head> Body> PID= "P1">Link to external CSSP> PID= "P2">Link to external CSSP> Pclass= "P3">Link to external CSSP> Body> HTML>
The Style.css of code 3 is the same
How to disable javascript caching for html pages and cache JavaScript For html pages
The example in this article describes how to make html pages not cache js. Share it with you for your reference. The specific implementation method is as follows:
Many of our friends will encounter this situation: if Javascript is loaded on our page, this js cache file will be ca
Reasons for the launchThe advent of HTML is to solve the problems existing on the web.· The compatibility between Web browsers is very low· The document structure is not clear (the entire page Div, not semantically)· The functionality of the Web application has been limitedChanges in grammarDOCTYPE statement (Specify character encoding (Elements that can omit markupProperty with a Boolean value (Omit quotation marks (attribute values can not be writte
(1) HTML 5 compared to HTML 4, the syntax changes, the following four aspects:Example of change in character encoding:Omit Tag Value:(2) New and deprecated elements(3) Add HTML Global Properties(1) Specifies whether the element can be edited(2) Specify whether the page can be edited on : editable off: not editable(3) True: Make an element invisible(4) Spelling an
Basic HTML knowledge note (3): Basic html knowledge noteHTML drop-down list box
Explanation:
1. value:
2,Selected = "selected":
SetSelected = "selected"This option is selected by default.
Select multiple from the drop-down list box:
You can also select multiple items from the drop-down list and set them in the multiple="multiple"Attribute to achieve the multi-choice function. In the widows operating syste
HTML Knowledge Network Diagram, html knowledge
Note: This figure is based on the HTML CSS: design and build websites (Jon Duckett) HTML section, and CSS section.
It contains commonly used elements and their important attributes.
HTML5
Complete reference can be transferred here:
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.