Home  >  Article  >  Backend Development  >  javascript - After entering search terms on the mobile terminal, why does the input method not appear like Baidu? And mine appears as a line break

javascript - After entering search terms on the mobile terminal, why does the input method not appear like Baidu? And mine appears as a line break

WBOY
WBOYOriginal
2016-07-06 13:54:081016browse

After entering search terms on the mobile terminal, why does the input method not appear like Baidu? What appears in mine is line break
Do I need to set anything?
As shown below. . .
javascript - After entering search terms on the mobile terminal, why does the input method not appear like Baidu? And mine appears as a line break

javascript - After entering search terms on the mobile terminal, why does the input method not appear like Baidu? And mine appears as a line break

Reply content:

After entering search terms on the mobile terminal, why does the input method not appear like Baidu? What appears in mine is line break
Do I need to set anything?
As shown below. . .
javascript - After entering search terms on the mobile terminal, why does the input method not appear like Baidu? And mine appears as a line break

javascript - After entering search terms on the mobile terminal, why does the input method not appear like Baidu? And mine appears as a line break

Change your type to search

Found it, instead of changing it to search, it wrapped the form in the outer layer

Just write the input in the form tag

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