There is no built in source PTransform for fetching the HTML content of websites. That said, you can write your own DoFn (https://beam.apache.org/documentation/programming-guide/#requirements-for-writing-user-code-for-beam-transforms).
Your pipeline would then look something like the following:
with beam.Pipeline() as p:
result = (p
| "Create input data" >> beam.Create([list_of_urls_to_fetch])
| "Fetch HTML Content" >> beam.Map(CustomDoFn)
Where the CustomDoFn
receives the list of URLs as input, and fetches their HTML content using your library of choosing.