如何制作网站? [英] How to make website ?

查看:109
本文介绍了如何制作网站?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不懂java,html或css语言。但我有知识c和c ++语言

所以,如何组建网站



我尝试了什么:



这是我夏天制作网站的项目。但我不知道如何在没有任何html和css知识的情况下完成它。

解决方案

在这里你会找到一套很好的教程,可以满足所有需要的内容。网站。

W3Schools在线网络教程 [ ^ ]



再试试Google。


< blockquote>您的知识不会帮助您创建网站:您不使用C或C ++。

您需要在客户端使用HTML / Javascript,可能需要VB / C#或PHP在服务器端。



您可以开始使用客户端代码创建一个网站: W3Schools在线网络教程 [ ^ ]将帮助您入门,但对于更灵活(以及远程类似于安全性的任何东西),您将需要服务器端代码a好吧: ASP.NET概述 [ ^ ]是一个值得一去的地方。



或者......有网站建设者可用: w3schools教程 - Google搜索 [ ^ ]但坦率地说,除了基本网站外,它们不会产生任何你真正想要在现实世界中使用的东西。


如果你的最终目的是写一个网站,那么,如上所述,你将不得不学习html和CSS至少。这将为您提供一个静态网站,但如果您需要一个动态的网站(即它做事),那么您还需要一个服务器端语言来生成动态HTML。再次,如果只是简单地建立一个网站是你的目标,那么你最好学习一种语言,可以与一个现成的Web构建框架一起使用,如PHP(用于Apache)或c#用于asp.net和IIS。



但是,如果您的目标是扩大您的c / c ++技能并且想要建立一个网站,那么您将需要做几乎所有的事情从头开始自己。您需要了解套接字编程,以便可以监听请求并对其进行响应,可能需要多线程才能使其更顺畅地工作。然后,您需要学习HTTP协议,以便了解浏览器提出的请求以及如何构建适当的响应以进行发送。


i don't know java,html or css language. but i have knowledge c and c++ language
so,how to form website

What I have tried:

thats my summer project to make a website. but i don't get how to make it without any knowledge of html and css.

解决方案

Here you will find a good set of tutorials for all what is needed for websites.
W3Schools Online Web Tutorials[^]

Try Google for more.


Your knowledge is not going to help you create a website: you don't use either C or C++.
You need HTML / Javascript at the client side, and probably either VB / C# or PHP at the server side.

You can start creating a website with just client side code: W3Schools Online Web Tutorials[^] will get you started, but for more flexibility (and anything remotely resembling security) you will need server side code as well: ASP.NET Overview[^] is a place to start.

Or ... there are "website builders" available: w3schools tutorial - Google Search[^] but frankly, they don't produce anything you'd really want to use in the real world, beyond a basic site.


If your ultimate aim is to write a website then, as mentioned, you're going to have to learn html and css as a minimum. That will get you a static website, but if you need a site that is dynamic (ie it "does things") then you'll need a server-side language too to generate the dynamic html. Again if simply making a site is your aim then you're better learning a language that can be used with one of the off-the-shelf web building frameworks such as PHP (for use on Apache) or c# for using with asp.net and IIS.

If, however, your aim is to broaden your c/c++ skills and you want to build a website then you'll need to do pretty much everything from scratch yourself. You'll need to know socket programming so you can listen for requests and respond to them, probably multi-threading to make it work smoother. Then you'll need to learn the HTTP protocol so you can understand the requests browsers make and how to construct the appropriate response to send back.


这篇关于如何制作网站?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆