Java's underlying tags

Source: Internet
Author: User
Tags parent directory

Cross-industry into it, it feels like learning a foreign language, the basic label is like English words Yes, now only a word, not the feeling of speaking, pain.

1. Text Format Control tab

<font color= "Text color" size= "Font size" face= "what font" > text content </font>

<b></b> Font Bold

<i></i> font Tilt <em></em> accent, tone enhancement

<u></u> Font Underline

<strong></strong> Font Bold

<center></center> Font Center

<br> or <br/> line break

Space

2. Content Container Label

<p> paragraph </p> paragraph labels (wrap lines)

<div></div> layer labels, one row by default, meaningless for use alone, with CSS style selectors

<span></span> layer labels, which is the default amount of space to use with CSS style selectors

3. Ordered and unordered list labels

There are sequence tables:

<ol type= "1 or a or a or I" >

<li> content </li>

<li> content </li>

.....

<li> content </li>

<li> content </li>

</ol>

Unordered list: OL can be replaced by UL

4. Relative path and absolute path:

Relative path: Find from the current page

A. "./" Starting from the current directory to find

B. ".. /"Start looking up from the parent directory

Absolute path: Find "/" on the root of the site from the root of the site

6.if Branch Statement:

A. Standard format: if (judging condition) {

statement that satisfies conditional execution

}else{

Conditional execution Statement not satisfied

}

B. deform mode (else IF): if (judging condition) {statement that satisfies the condition execution

}else if (judging condition) {

statement that satisfies conditional execution

}else if (judging condition) {

statement that satisfies conditional execution}else{

Statement that does not meet conditional execution}

if (judging condition) {statement that satisfies the condition execution

}else {if (judging condition) {

Statement}else{if (judging condition) that satisfies the condition execution {

A statement that satisfies the condition execution}else{a statement that does not meet the condition execution}

}

}

C.if Nesting mode: if (judging condition) {

if (judging condition) {

if (judging condition) {

statement that satisfies conditional execution}else{

Statement that does not meet conditional execution}

}

}

D

Base tags for Java

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.