22.3 C
New York
Friday, June 24, 2022

Buy now

spot_img

AMP HTML Now Supports Autocomplete for Faster Search Experiences

AMP pages can now more closely mirror the behavior of regular HTML pages with autocomplete for search and forms.

An autocomplete-enabled input field suggests completed results corresponding to what the user is typing.

As you likely know from this being a common feature in regular pages, it can greatly speed up the time it takes to complete a task.

AMP-autocomplete can be used to power on-site search experiences, or in forms to help ensure inputs yield more predictable results.

When a user types into an input field with amp-autocomplete, relevant suggestions will automatically appear below the input field.

This feature can also be used to generate a list of suggestions for a particular input field.

For example, a search bar on an e-commerce site can automatically suggest the most popular products with amp-autocomplete.

Data can either be fetched from a JSON endpoint or locally from amp-state.

For more on the technicalities of how this feature works and how to set it up, see the official documentation here.





Source link

0 0 votes
Article Rating
SEO News
SEO News
Search engine optimization (SEO) is the process of increasing the quality and quantity of website traffic by increasing visibility of a website or a web page to users of a web search engine.

Related Articles

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
[td_block_social_counter facebook="tagdiv" twitter="tagdivofficial" youtube="tagdiv" style="style8 td-social-boxed td-social-font-icons" tdc_css="eyJhbGwiOnsibWFyZ2luLWJvdHRvbSI6IjM4IiwiZGlzcGxheSI6IiJ9LCJwb3J0cmFpdCI6eyJtYXJnaW4tYm90dG9tIjoiMzAiLCJkaXNwbGF5IjoiIn0sInBvcnRyYWl0X21heF93aWR0aCI6MTAxOCwicG9ydHJhaXRfbWluX3dpZHRoIjo3Njh9" custom_title="Stay Connected" block_template_id="td_block_template_8" f_header_font_family="712" f_header_font_transform="uppercase" f_header_font_weight="500" f_header_font_size="17" border_color="#dd3333"]
- Advertisement -spot_img

Latest Articles