You would have to learn how websites are made.
There are different ways to make websites.
If you want, after you learn what I said, then you can learn much more.
Just try to learn as much as you can.
Learn:
HTML/CSS
Learn HTML
Learn HTML5
Learn CSS
Learn CSS3
JavaScript
Learn JavaScript
Learn jQuery
Learn jQueryMobile
Learn AJAX
Learn JSON
Learn Google Maps
Server Side
Learn SQL
Learn PHP
Learn ASP
Learn ADO
Learn ASP.NET
Learn VBScript
Learn AppML
Client side coding
Ajax Asynchronous JavaScript provides new methods of using JavaScript, and other languages to improve the user experience.
Flash Adobe Flash Player is a ubiquitous browser plugin ready for RIAs. Flex 2 is also deployed to the Flash Player (version 9+).
JavaScript JavaScript is a ubiquitous client side platform for creating and delivering rich web applications that can also run across a wide variety of devices. It is a dialect of the scripting language ECMAScript.
jQuery Cross-browser JavaScript library designed to simplify and speed up the client-side scripting of HTML.
Microsoft Silverlight Microsoft's browser plugin that enables animation, vector graphics and high-definition video playback, programmed using XAML and .NET programming languages.
HTML5 and CSS3 Latest HTML proposed standard combined with the latest proposed standard for CSS natively supports much of the client-side functionality provided by other frameworks such as Flash and Silverlight
Server side coding
ASP (Microsoft proprietary)
ColdFusion (Adobe proprietary, formerly Macromedia, formerly Allaire)
CGI
Erlang, with Linux, Yaws, Mnesia, Erlang (LYME) solution stack
Groovy, using the Grails framework
Java, e.g. Java Servlets, JSP or WebObjects
Lotus Domino
Node.js
Perl, e.g. Catalyst, Dancer or Mojolicious (all open source)
PHP (open source)
Python, e.g. Django (web framework) (open source)
Ruby, e.g. Ruby on Rails (open source)
SSJS Server-Side JavaScript, e.g. Aptana Jaxer, Mozilla Rhino
.NET and .NET MVC Frameworks (Microsoft proprietary)
Database technology
FileMaker
Apache Derby *
IBM DB2
IBM Notes
Firebird *
Microsoft SQL Server
MySQL *
MariaDB *
Oracle
PostgreSQL *
SQLite *
Sybase
WebDNA
Redis *
MongoDB *
CouchDB *
Mark_Logic