New structure Tags
Section elementRepresents a chunk of content in a page, such as a chapter, header, footer, or other part of a page. Can and H1, H2 ... Such elements are used to represent the document structure. Example:
article ElementsRepresents a piece of independent content in the page that is not relevant to the context. such as an article.
aside elementsRepresents the secondary information that is related to the content of the article
Review the newly added and abolished tags of html5. review the new and abolished tags of html5.
HTML5 has been prevalent for a while. Do you know how to use tags according to standards, what should be used, and what should not be used. Today I will detail the following:New Structure label section element
Indicates a content block in a page, such as a chapter, hea
Common Html tags and common Html tags
HTML is the carrier of webpage content. The content is the information that the webpage maker places on the page to allow users to browse, including text, images, and videos. Html tags are combined into a variety of web pages. Next we will talk about some common tags, which are als
Chat about HTML
We often use pre tags when keeping the text format. For example, when we want to display the source code, we only need to put a pre Tag, and then copy and paste the source code directly, then, you can maintain a good format on the page. The line breaks and spaces are not automatically folded as they are placed in other labels. How does pre work?Pre Tag
Pre elements in HTML, which can define pre-formatted text. The text in the pre elem
Review common HTML tags and review html tagsI. Introduction to Html1. Relationship between Html and CSS1. HTML is the carrier of webpage content2. CSS styles are manifestations (the things used to change the content appearance are called manifestations)3. JavaScript is used to implement special effects on webpages (animations and interactions are generally implemented using JavaScript)2. html tags Image Tag
Common html tags and html tags
---------------------------------- Html overview ------------------------------------------------
1. the html language is composed of tags, and data is encapsulated in tags, because the encapsulated data can be operated by changing the attribute values in
This article mainly introduces how to delete html tags to process nested tags in plain text. For more information, see the following method: the source code in THinkphp, but I modified it.
The code is as follows:
/** @ Description: delete HTML tags to obtain plain text. Can process nested labels**/Class deleteHtmlTags {Private $ filename;Function _ construct
Ruby tags define ruby annotations (Chinese phonetic notation or characters). Ruby tags are used with RT tags.A ruby tag consists of one or more characters (requiring an explanation/pronunciation) and an RT tag that provides that information, as well as an optional RP tag that defines what is displayed when the browser does not support Ruby markup.Basic syntax:Ruby>inRP>(RP>RT>ZhongRT>RP>)RP>CountryRP>(RP>RT
Common html tags and html tags
List common html tags and their usage!
Tag Name
Definition and usage
Introduction
Tag type
Html/html5
Define Document Type
Html/html5
. You can introduce scripts and css styles in ,
Html
When we define a div5 previously, a div was generally defined,Fo
HTML5 does not support tags or added tags. html5 does not.
1. tags not supported or not supported by HTML5
-- Define the abbreviation of the first letter, which is not supported by html5. Use
-- Defines the embedded applet, which is not supported in HTML5. Use the object element label instead.
-- Specifies the bold text. Supported, but according to HTML5 spe
The method basically comes from the source code in the thinkphp, but I changed it a bit.
Copy CodeThe code is as follows:
/*
* @Description: Delete HTML tags and get plain text. can handle nested labels
*
*/
Class deletehtmltags{
Private $filename;
function __construct ($filename = ' c:/appserv/www/text.txt ') {
$this->filename = $filename;
}
/**
* Delete HTML tags to get plain text. can handle nested
ElementSeems to have no effect. Is there a problem with support?Represents a command button, such as a radio button, a check box, or a button.This element is visible only if the command element is inside a menu element. Otherwise, this element is not displayed, but it can be used to specify keyboard shortcuts.
onclick="alert(' Hello World ')">
Click me!
Details tabOnly Chrome supports the Details tab at this timeA detail used to describe a part
1. Built-in Label (Action label)Built-in tags do not need to import JSP page tags1), Forward: forwarding of the request, the format is as follows2), include Tags: used to include pages,Contains and contains pages that are translated into Java source files and then merged together before they are run. (Translate and merge first), dynamically includeThe format is as follows:But it has a certain difference fro
Common html tags and common html tags
I started to learn about the front-end.
Html full name Hyper TextMarkup Language
The following describes commonly used html element tags.
H1 h2 h3 h4 h5 h6 level 6 title label
Use li
Ol ordered list label sub-elements use li
A hyperlink tag href intermediate link address
P text label
Pre displays
HTML learning 7: Table tags of common tags
Table labels can be used to create tables in the HTNL markup language.
Table label list:
TableLabel. Each table has several rows (defined by tags) and each row is divided into several cells (defined
Table Without Borders
100
200
300
400
500
600
Table with borders
Row 1, cell 1
HTML5 tags and html5 tags1. The main semantic tags added by h5 are as follows:
1. header and header
2. navigation to the nav page
3. atricle
4. section
5. aside sidebar
6. footer page bottom and footer
The PC is compatible with h5 new labels. Introduce js files on the page.
Ii. HTML5 New Form Control 1. New Type: web site email date and time, number of weeks, range, telephone color search
A. B. C. D. E. F,
H1, H2, H3, and strong labels are used to emphasizeArticleParagraph content. The rational use of tag layout and page content in website optimization play an important role in improving the ranking of the website.
The labels H1, H2, H3, and strong are used from high to low: h1> H2> h3> strong
Generally, the H1, H2, H3, and strong labels are used as follows:H1 defines the website title, H2 defines the article title, H3 defines the side topic title, and strong defines the keywords on this page..
HTML table tags: html table tags
I learned about common HTML tags. Today I am going to start Advanced tags!
I. Table labels
1. Role: Create a table
2. Functions of each attribute:
3. Sample Code:
4. Running result
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.