Suppose I would like my C code to fetch the headline from the website, like world wide

How to achieve that?

Can One write a course in C to get this done?

produce a start...

The simplest way is by using a current HTTP library, for instance libcurl or neon. If you work with some framework, maybe it already includes a HTTP client.

Browse the Beej's Help guide to Network Programming.

This can be a beginner's help guide to socket programming with Internet electrical sockets. It is intended to be a springboard which will launch you in to the exciting realm of TCP/IP programming.

You will find many method of getting your result, but the easiest way is always to make use of a library since parsing html is frequently complicated.

You could attempt to make use of libxml

There's also libcurl which enables you to definitely simulate a browser.

But attempting to parse html yourself is going to be.... painful..