The <a> tag we introduced above, because the <a> tag can be used to jump, so we can take the <a> tag to generate the navigation bar of the page.
In fact, in the actual use of,<a> tags are often used to generate navigation bar.
The navigation bar has a semantic label <nav> in the HTML, and this tag represents a navigation-specific content with its own default special style. Semantic tags we'll talk about it later.
Here we first use the following <nav> tags , and <a> combine into a navigation bar.
The code is as follows:
<! DOCTYPE html>
What's the result?
More content learning in the code bud Net Http://www.mayacoder.com/lesson/index
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/86/8A/wKiom1fDkUeA1VNRAAAqSJGVsfY606.png-wh_500x0-wm_3 -wmp_4-s_3962936313.png "title=" 2.png "alt=" Wkiom1fdkuea1vnraaaqsjgvsfy606.png-wh_50 "/>
HTML&CSS Basic Learning Note 11-navigation bar