HTML (HyperText Markup Language) is the predominant markup language used for creating web pages.

learn more… | top users | synonyms

1
vote
2answers
320 views

What is the best way to build a static page web site from a JSON API?

I have a JSON API that includes some discusssions. I want to build a static html site on another server, pages that are built from data on that API. I am more comfortable using Rails than Node. The ...
36
votes
6answers
2k views

Why not embed styles/scripts in HTML instead of linking?

We concatenate CSS and JavaScript files to reduce the number of HTTP requests, which improves performance. The result is HTML like this: <link rel="stylesheet" ...
1
vote
2answers
242 views

Frontend vs Backend data handling

Firstly I would like an answer from an experienced person (not a one man band), someone whom has worked in a medium/large team and had to battle with this burning question before. The problem: I am ...
2
votes
1answer
393 views

Am I right to be skeptical of ASP.NET MVC “Html Helpers”? [closed]

ASP.NET WebForms seemed really great until that moment of realization the abstraction you'd welcomed was producing HTML that was worlds away from what you needed. Wrestling with that framework to ...
3
votes
2answers
526 views

Semantic CSS class names [closed]

I always read articles that suggest to not use presentational CSS class names. Currently I'm working on a small website project. The footer on this website looks like this: Although it's pretty ...
1
vote
3answers
607 views

CSS structure for creating responsive websites

I'm a back-end engineer who works on a small team so occasionally needs to do some front-end. I like to develop a good workflow and project structure before I start anything, so I'm wondering about ...
0
votes
3answers
427 views

How to approach multiple page form with just one save option

The screen shot shows the magento product upload page. The left nav allows you to switch to different options for the product. Basically each option in the left nav appears as a different page. ...
0
votes
2answers
225 views

How to explain to my manager the importance of separation of concerns?

I'm an extremely novice web programmer working at a 2 person shop building websites, and we're in the process of writing a simple website template system in PHP from scratch. My manager is entirely ...
1
vote
3answers
217 views

History of vendor css prefix

When and how did this process of prefixing css with vendor specific prefix begin. Which browser/org start this and why was this started. I searched the web but found no details on this.
0
votes
1answer
65 views

Styling the HTML tag in a web document

is it good Coding Practice to add style to the <html> tag of a web document? why should you not style the <html> tag of a web document? I ask this because of this answer on a ...
3
votes
1answer
655 views

Reverse horizontal and vertical for a HTML table

There is a two-dimensional array describing a HTML table. Each element of the array consists of: the cell content rowspan colspan Every row of this two dimensional array corresponds to <td> ...
2
votes
4answers
633 views

Learning to program after a 9-5 job [closed]

I'm currently working as an IT administrator, but I'm thinking of making a slight career change into programming. I want to focus my time and effort into learning some web-based languages, but does it ...
0
votes
1answer
159 views

what is the meaning of following definition? [closed]

I am new to javascript and start learning from w3schools website. I'm not able to understand what the following line means. Can anyone please explain this with example? You can only use ...
0
votes
5answers
222 views

Why do we write the action to be performed by a function in jQuery inside the parentheses?

Generally whenever we're programming in any Programming language, say C, we would pass the parameters we need to pass to a function using the parentheses next to the name of the function. Whereas in ...
0
votes
3answers
253 views

What's wrong with this approach to CSS?

I have a static Jekyll website. The website is constructed once, on my computer, and then sent to the server in the form of plain HTML, image, and CSS files, to be served by a regular HTTP server. ...
1
vote
2answers
860 views

Can I use a @font-face of “Courier New”?

I currently have my font stack: font-family: "Courier New", Courier, monospace; In all browsers that I test in I see the font displayed in the Courier New font except for my android devices - my ...
-1
votes
3answers
302 views

What would be a good “umbrella” term for HTML, CSS, SQL, JavaScript and the like? [closed]

There appears to be a pretty clear consensus on the question about whether HTML and CSS are programming languages. They are not. HTML is a markup language and CSS is a stylesheet language. You could ...
0
votes
0answers
119 views

Ruby Capybara HTML DOM Issue

I am trying to get the links from Google adverts that appear in a webpage in programmatic manner. I have been testing Ruby and Capybara but I have an issue where the DOM as stated by Capybara is not ...
-2
votes
2answers
387 views

Do I need to learn Javascript to make decent websites? [closed]

Hello I have been using C++ and Java for years. For better or for worse, I have always looked at JavaScript as not as powerful as these languages and therefore probably not worth my time and effort to ...
2
votes
5answers
747 views

How can a server side developer survive in a position which expects front-end involvement? [closed]

My background is back-end server development. Very back-end. Now I work in a position where I need to also take care of front-end. Nothing fancy but I need to be able to code for front-end as well. ...
0
votes
1answer
112 views

Are there presently any standardized “grammar” rules for HTML & CSS?

Over the years I have assigned values to classes and html elements in all sorts of ways: myClass MyClass my_class my-class . . .and so on. As I am always trying to hone my craft and make my code ...
1
vote
1answer
215 views

How does google code prettify works? [closed]

I am using google code prettify. After a page renders, I decided to check how <code> and <pre> tags and their contents were manipulated. But in view source, I found no changes were made ...
-1
votes
2answers
159 views

How i may develop in php and html? [closed]

I am learning php from the internet on codeacademy.com. I have also learned html and css but the problem that i dont know how can i build a complete website then ! I study everything on its side. But ...
5
votes
5answers
673 views

What is it called when a website URL replaces WWW with something else, and what purpose does it serve?

What is it called when a website has another word in place of where www usually goes? For example, images.google.com vs google.com/images. I know the latter is a file on the server that the browser ...
4
votes
1answer
181 views

Drawbacks of using pure html in webforms? [duplicate]

I'm maintaining an ASP.NET Webforms 4.5 application for a few months and frankly i'm fed up with server controls. So i switched to pure HTML and Javascript for front end, when creating new content (or ...
3
votes
1answer
531 views

Benefits of setting PHP memory_limit to lower value for specific PHP script?

I need to execute just few lines of PHP code on every single page of my website. This PHP code does not require more than 4MB memory. That is why i want to allocate just 4MB memory to all pages by ...
1
vote
2answers
167 views

ASP.NET tags best practices

I'm working on my first ASP.NET project and I'm torn between using asp tags (<asp:SomeElement) everywhere or use some regular HTML for simple things that need no code behind, like fixed divs, ...
2
votes
4answers
1k views

Why is a tooltip's attribute labelled 'title='? [closed]

HTML 4 supports a "title" attribute that can be inserted inside any HTML tag. Inserting this attribute effectively gives the element a tooltip that pops up when the mouse moves over it. It just ...
4
votes
1answer
432 views

Is there a way to prevent the editing of HTML and CSS contents in a page using Firebug-like tools?

Is there a way to prevent the editing of HTML and CSS contents in a page using Firebug-like tools? I found that some users are editing some values in hidden fields and some contents which written ...
-1
votes
4answers
424 views

Am I required to memorize coding in a work space or can I fall onto references to provide me edge to finishing my development? [duplicate]

I would like to know if I am expected to memorize coding in a workspace or am I allow to fall into references whenever I am unsure. In a week of non-stop self learning, I feel I can understand the ...
2
votes
1answer
247 views

Use a search box that calls on a JSON file? [closed]

I use a JSON file to populate several drop down lists. The format is: { "value" :"lightyear", "name" :"Light Year(yl)" }, { "value" :"astronomicalUnit", ...
0
votes
0answers
151 views

What iframe event handlers can catch/handle error response statuses.

I require to download a url into an iframe and handle the cases where the server returns an error response status. Please could you inform me how to catch/handle the error status returned in the ...
1
vote
2answers
326 views

Is there a Standard Visual Cue to Indicate the presence of a Tool Tip (Hover Text)?

A widely recognized cue that text is clickable is to underline it, set it in a different color, and change the cursor to a hand symbol when hovering over it. I have a situation where a column in a ...
-1
votes
1answer
197 views

Not sure how to study Web programming [closed]

Hello everyone and thank you for your time :) So I'm a 17 portuguese boy and I'm thinking about starting a website, but because I don't have much money I decided I'd need to learn how to do it ...
1
vote
2answers
302 views

Preventing Web Site Users From Using Their Back Button To Get To Cached Screens After Logging Out?

I have a legacy Java webapp ( Spring 3.1 MVC, legacy servlest and JSPs ) I have modified to log the user out after s/he clicks an external link to leave the web site. The last screen(s) s/he was on ...
1
vote
2answers
335 views

XML/HTML: Do we need the element name in closing tags?

Compared to other serialization languages, one of the main criticisms directed at XML is its verbosity; JSON's more terse and readable for most cases, but not all. But it seems to me that we could ...
0
votes
2answers
287 views

Starting android Development [closed]

I am considering learning android development. I have some basic knowledge in C++. I downloaded the ADT plugin and eclipse. Now while starting from http://developers.android.com I see the codes were ...
3
votes
3answers
4k views

Best practice for storing HTML coming from text fields to a database?

I have an application that allows users to edit certain parts of text and then email that out. My question is what is the best way to store this in a Microsoft SQL Server database. Right now I have ...
6
votes
1answer
266 views

Is there a standard way to structure a website

When I first taught myself how to make websites (html/css) I used exact pixel width and height for all div elements. I've also practiced making websites with nothing but percentage width and height. ...
34
votes
6answers
2k views

Why was strict parsing not chosen for HTML?

I am pretty much unaware about the detailed computing history that surrounds internet but it has always made me think why strict parsing was not chosen when creating HTML. Browsers accept any rubbish ...
4
votes
1answer
2k views

Why does a contenteditable div not behave like an input element?

The motivation for the content editable div would be to allow user input inside a normal div element. Why does it then behave so differently to input element? Mainly I am referring to the addition of ...
1
vote
4answers
393 views

Is XML, HTML/CSS, XSL analogous to Model, View, Controller?

For some time in personal projects I have been using XSL to convert my raw XML data into human-friendly HTML/CSS (in simple projects, I have no JavaScript, so let's leave that out of the equation for ...
0
votes
3answers
398 views

Saving multiple copies of a single image at different sizes

I'm building a file storage programme that will also display images in photo galleries to users who upload them. I was wondering if anybody could help me out. My plan was if an image was wider than ...
0
votes
2answers
398 views

How does Facebook strip html/apostrophes for XSS but also display it?

I'm not quite sure if this is a question for programmers.se rather than stackoverflow, but here goes. So Facebook [or any other large company] when given something like an apostrophe or html, can ...
4
votes
1answer
199 views

Where did the html/css 'float' concept come from?

Pretty straightforward, was wondering what the inspiration or precedent for the CSS 'float' concept. I'm not familiar with any other graphic APIs or other layout DSLs that use this concept, but it's ...
2
votes
1answer
253 views

How to best organize spaghetti Javascript on the client with an MVC server architecture?

A LAMP project I am currently working on is pretty well organized on the backend. However, there are a ton of pages that just have a diarrhea of javascript and html squirted all over numerous ...
0
votes
1answer
201 views

How to create a Web app that “interacts” with email?

I have a web host that supports cPanel and email addresses. I'm interested in creating a web app that checks for email messages, reads their contents and then does something with them, like interact ...
-1
votes
2answers
150 views

Where do I start to build this? [closed]

I'm a real estate professional and part of my job is to scan a database day in and day out searching for properties for a prospective investor buyer to purchase. I am pretty sure a program can be made ...
4
votes
2answers
533 views

Should MVVM ViewModel inject an HTML template for default view?

I'm working on web application design that includes Knockout.js and have an overall MVVM question: Does it make sense for the ViewModel to automatically inject a default HTML template (pulled from ...
1
vote
1answer
652 views

Twitter in app browser + user agent string

Recently (I believe some weeks ago) with the latest update of the Twitter app for iOS, all links found inside tweets are opened in Twitter's build-in browser. My question is how to find Twitter's ...