Example application of HTML frame tags

巴扎黑
Release: 2017-06-07 16:46:25
Original
2262 people have browsed it

1.The main basic tags in HTML are as follows:

Comment tag ;

Paragraph tag

Title tag

, the parameters of this tag are from h1~h6;

Line break tag
or
;

(font) bold label;

(font) italic label;

subscript;

Superscript;

Preformat tag


        
Copy after login
;

Address tag

;

Delete tag;

Insert tag

Connection label;

Lower horizontal line label


;

2. The syntax of the connection label:Name

For example, to connect to Baidu homepage:

[html] view plain copy

Baidu

Connect the picture as a button to the specified path, where alt is the name displayed by moving the mouse, and src is the path of the picture:

[html] view plain copy

Baidu

Open the connection in a new browser:

[html] view plain copy

Baidu

Jump to the specified paragraph of the current page:

[ html] view plain copy

Jump

;a name="a1">Paragraph a1

Paragraph a1

3. Frame structure in HTML

Example 1. Vertical frame structure, the page Divided vertically into three parts.

The directory structure is as shown below:


##f1.html code

    Insert title here 
最左边框架
Copy after login

f2.html code

    Insert title here 
中间框架
Copy after login

f3. html codeExample application of HTML frame tags

    Insert title here 
最右边框架
Copy after login

frame.html code

    框架结构  
Copy after login

Run result chart

Example 2. Hybrid structure frame.

The directory structure is as shown below:

Example application of HTML frame tags

##f1.html code

    Insert title here 

这是一个导航框架

Copy after login

f2.html code

    Insert title here 

菜单

菜单一

菜单二

Copy after login

f3. html code

    Insert title here 
菜单内容 menu1.html代码 [html] view plain copy Insert title here
我是菜单一的内容
Copy after login
Example application of HTML frame tagsmenu2.html code

    Insert title here 
我是菜单二的内容
Copy after login

frame.html code

    混合框架结构 
Copy after login

Running result graph

The above is the detailed content of Example application of HTML frame tags. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!