Two minutes to understand the usage of a tag in html
a is an HTML language tag. The a tag defines a hyperlink, which is used to link from one page to another. The most important attribute of the a element is the href attribute, which specifies the target of the link. Let’s take a look together. A tag will focus and automatically appear a dotted frame after clicking? Solution: 1.css processing method a{ outline:none;} 2. Add listening events, automatically lose focus (not recommended) 3. Inline processing style The label opens the link in a new tab value description _blank Open the linked document in a new window _self default Open the linked document in the same frame _parent Open the linked document in the parent frameset _top Open the linked document in the entire window framename in the specified Open the linked document in the frame vue opens a new page: let routes = this.$router.resolve( { path: '/position/recruit/job/desc', query: { id: row.id } } ) window.open(routes.href, & #39;_blank& #39;) Thank you for reading, I hope you will benefit a lot. This article is transferred from: https://blog.csdn.net/weixin_45266125/article/details/103199755 Recommended tutorial: “HTML Tutorial” The above is two minutes to understand html For more details on the usage of the a tag, please pay…
Two minutes to understand the usage of a tag in html
a is an HTML language tag. The a tag defines a hyperlink, which is used to link from one page to another. The most important attribute of the a element is the href attribute, which specifies the target of the link. Let’s take a look together. A tag will focus and automatically appear a dotted frame after clicking? Solution: 1.css processing method a{ outline:none;} 2. Add listening events, automatically lose focus (not recommended) 3. Inline processing style The label opens the link in a new tab value description _blank Open the linked document in a new window _self default Open the linked document in the same frame _parent Open the linked document in the parent frameset _top Open the linked document in the entire window framename in the specified Open the linked document in the frame vue opens a new page: let routes = this.$router.resolve( { path: '/position/recruit/job/desc', query: { id: row.id } } ) window.open(routes.href, & #39;_blank& #39;) Thank you for reading, I hope you will benefit a lot. This article is transferred from: https://blog.csdn.net/weixin_45266125/article/details/103199755 Recommended tutorial: “HTML Tutorial” The above is two minutes to understand html For more details on the usage of the a tag, please pay…