Techniques for performing inline searches in an instant messaging
environment are provided. A user can implement a web search in an instant
messaging window by entering a search query. A search query can be
preceded by a predefined search trigger to identify the associated text
as the search query. The search query is sent to an Internet search
server, which processes the query and gathers search results. One or more
of the search results is displayed inline in the instant messaging window
to the sender and the recipient. The search result can be in XML or HTML
format and can include graphics and hyperlinks.