Home  >  Article  >  Web Front-end  >  Ask a strange question about HTML A tag_html/css_WEB-ITnose

Ask a strange question about HTML A tag_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:11:55848browse

As long as you put the mouse on the A tag, the mouse pointer will change to the style of a finger, but my A tag code does not. The mouse pointer will not change when the mouse is put on it

<a onclick="window.open('http://wpa.qq.com/msgrd?V=1&Uin=353623668&Site=在线咨询&Menu=yes')" ><img src="/qqkefu.jpg" /></a>



Reply to the discussion (solution)

Add an href to have the hand shape

b5a63eb323562bbd99b282e6a2c944921235db79b134e9f6b82c0b36e0489ee08ed
3499910bf9dac5ae3c52d5ede73834851235db79b134e9f6b82c0b36e0489ee08ed

Look at the difference

Of course, you can also define mouse styles
354a2b149815593c5de8916fafed66471235db79b134e9f6b82c0b36e0489ee08ed
d71914930bc551a59c765cede02731851235db79b134e9f6b82c0b36e0489ee08ed

That’s because you didn’t add the href attribute

Yeah, that’s right

Statement:
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