html knowledge summary (two) web page structure, iframe inline

html knowledge summary (two)

table of Contents

html knowledge summary (two)

1. Web page structure

Two, iframe inline frame


1. Web page structure

The page layout of the web pages we browse has a certain structure, such as the header information bar, content block, side navigation bar, etc. Several structures of the webpage are listed below

Element name description
header Mark the contents of the header area
footer Mark the contents of the trailing area
section A separate area on the page
article Independent article content
aside Related content, sidebar
are not Navigation content

Use different element names to integrate different parts of the web page, which can make the code structure clear and easy to maintain

<header>头部</header>
<footer>尾部</footer>
<nav>导航</nav>

Two, iframe inline frame

The iframe frame is to insert a window in the web page, and then display the URL filled in our src in the window

<iframe src="网站地址" name="a"></iframe>

You can also do this to open a website in an iframe a window

<iframe src="" name="a"></iframe>
<a href="https://www.baidu.com" target="a">点击跳转</a>

 


The content of the article is organized according to the self-study of the html part of " Meeting Crazy God" . I would like to thank the blogger here .

Guess you like

Origin blog.csdn.net/qq_41459262/article/details/113246331