Is there ANY way I could get an ACTUAL domain name by using an HTML code on notepad??

examples-domainname.com, domainname.net

any of those types? nothing like domainname/name2.com or that stuff. I want it to be the real deal. I want people to be able to type it in the adress bar and get my website.

please!