开发者

Substitution for HTML

Is there a programing language that can substitute HTML in making web sites.I don't mean something like ASP,JSP,PHP or similar.Specifically I am looking for a web site programing language which is not bas开发者_如何学JAVAed on that line semantics.More specifficaly I' m looking for something that will add the WinForms Coordinates possibility(Positioning elements based on their X and Y axes).Excuse my English,if I made any error. I hope you understod my question.


There isn't.

However, CSS has absolute positioning that will probably allow you to achieve what you want.

CSS

#box { position: absolute; left: 20px; top: 80px }

HTML

<div id="box"> I am absolutely positioned! </div>

Be advised though that it's often the wrong choice. HTML is fundamentally different from forms based systems, as it's designed to be displayed on a wide choice of different devices.

Maybe show what issue you're dealing with exactly, and ask about that specifically.


No, there isn't.

Web sites are written in HTML.

Most modern browsers understand a number of "languages", CSS, Javascript, XML, XSL and HTML.

Some also support SVG natively.

However it is entirely unclear what you want to.


If all you're looking for is a way to specify the position of elements on a fixed coordinate grid, HTML/CSS support this. You're looking for absolute positioning. Be aware, however, that it's not nearly as cut and dry as it is on, for example, WinForms. Browsers differ, you have little control over the display, etc. It's do-able, but it has a different set of challenges than WinForms does.


Well there's Flash, Java, Silverlight...


You could try Flash:

http://www.adobe.com/devnet/flash.html

You would need html to embed the object, but the plugin space it provides does not use HTML.


Your options are:

  • HTML5
  • HTML4 (or less)
  • Flash
  • Silverlight
  • Java (applets)

So while, yes, you do have some options... no, you don't really.

Btw, who ever said that you can't do element/control positioning (a la X,Y coordinates) within HTML? You absolutely can, and it's typically done with CSS and/or JavaScript.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜