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

learn more… | top users | synonyms

0
votes
3answers
399 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
1answer
38 views

Developing pages in MVC website that will be specifically used as an iframe by another website

I have a website where I'm going to be partnering with another website. They want to view one specific page of mine, in their [WordPress] website. They aren't developers, so I looked into how to do ...
-4
votes
0answers
16 views

Help with D3.js adding of circles to each of the country on the world map [on hold]

<!DOCTYPE html> <meta charset="utf-8"> <title>D3 World Map</title> <style> .country:hover{ fill: #52adcc; stroke: #fff; stroke-width: 1.5px; } .text{ ...
0
votes
2answers
115 views

Is it a good idea for JS objects to draw themselves when the page loads?

So normally I would only use JS to modify the dom after the user interacts with something or some event goes off. This seems right for some reason. But I'm developing a widget based app where widgets ...
1
vote
2answers
58 views

Hide admin menu if no admin option is available

If you have a menu "Admin tasks" and different admin tasks (like 10) that you could separately assign to each user, but there are users who don't have any admin tasks, how would you deal with "Hiding ...
-3
votes
0answers
25 views

mvc 5 incoming emails [on hold]

i'm using mvc 5 and i need help implementing the code for "incoming emails" on my app. this is what i have tried and the emails are not coming through, is there another way to do this? [HttpPost] ...
36
votes
2answers
9k views

Pros and Cons of Facebook's React vs. Web Components (Polymer)

What are the main benefits of Facebook's React over the upcoming Web Components spec and vice versa (or perhaps a more apples-to-apples comparison would be to Google's Polymer library)? According to ...
0
votes
1answer
36 views

Http meta tag for refreshing/redirecting

I am not doing web programming usually, but while looking at the generated source of a webpage learned that a standard way to refresh a web page is to use <meta http-equiv="refresh" ...
-3
votes
0answers
56 views

Webpage source code [closed]

When the source code for a website is downloaded as an HTLM file and then opened within a web browser, what causes some pages to display correctly and others to fail? For example, consider this page. ...
1
vote
0answers
46 views

Combining position: relative with float in CSS

I have always thought of position: relative and float: left as different tools that should be used separately, with some features that overlap. position should be used for positioning things relative ...
-2
votes
3answers
117 views

I would really appreciate some advice [closed]

I'm currently majoring in computer science and have a 3.0 gpa. Yet i feel i don't know what i'm doing. I decided to work on myself this summer learning new languages and started with html and CSS and ...
-1
votes
3answers
105 views

Client and I don't know each other - any tips on ensuring client won't run off w/o paying? [closed]

I'm in college. I've taken to finding badly coded websites, e-mailing the owners and telling them I can fix it in exchange for Paypal money. I just completed one of these little fixes for a site, and ...
0
votes
1answer
68 views

Best practice for managing dynamic HTML modules?

I've been building web apps that add and remove lots of dynamic content and even structure within the page, and I'm not impressed by the method I'm using to do it. When I want to add a section or ...
0
votes
1answer
135 views

Website File and Folder Structure

I am having a problem learning how proper website structure should be. And by that I mean how to code the pages and how folder structure should be. Currently I am navigating around my website using ...
1
vote
1answer
103 views

Why HTML select is not searchable by default?

I was wondering why the default select tag of HTML, for example: <select name="company_name"> <option value=""></option> <option value="1">Company 1</option> ...
0
votes
1answer
154 views

For web apps (vs web pages) why not put scripts and css inline? [duplicate]

I understand that for normal websites you'd want to share scripts and css and therefore liking to them means that each page shares them from the cache. But this question is not about "normal multipage ...
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" ...
0
votes
2answers
59 views

HTML excessive line returns after every tag style? [closed]

With HTML should you return after every tag, or is in some cases okay to open tag, content, close tag on one line? This coming from readability where having to scroll pages to see the 4 items in your ...
2
votes
6answers
270 views

Why do we have to use divs?

This morning, as I was writing some html and haml, it occurred to me that the way divs are used is ridiculous. Why are divs not implied? Imagine if this: <div class="hero-img"> <img ...
3
votes
3answers
656 views

Standardized Programming Languages

Is there an organization similar to W3C that creates standards for programming languages? If so, are there any programming languages, like browsers would using W3C standards, that implement these ...
1
vote
2answers
197 views

What license is HTML released under?

All products seem to be released with a license, I'm curious to know how one would go about finding out the license of technologies like HTML, CSS and JavaScript?
0
votes
1answer
28 views

Serve content from server to remote embed HTML

The title is very bad so let me explain what I need to know. I have a server with let's say different images. What I want to achieve is be able to embed a frame, into any HTML site, and be the server ...
4
votes
2answers
529 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 ...
3
votes
1answer
341 views

Specifically for JS, CSS, HTML: what is the difference between optimization, compression, minification, tidying, concatenation?

When we talk about source code and the file which contains the code like CSS, HTML, JavaScript and we also talk about performance of a web site or application, what is the differences between these ...
-2
votes
1answer
103 views

Develop a website using mustache.js and PHP [closed]

I'm thinking of building a website using mustache.js to render the website and having PHP as the backend. The PHP will then mainly contain queries to the database and some SESSION checkings. ...
14
votes
4answers
613 views

Progressive Enhancement vs. Single Page Apps

I just got back from a conference in Boston called An Event Apart. A really popular theme amongst the speakers was the idea of progressive enhancement - a site's content should go in the HTML, and ...
0
votes
1answer
66 views

Can I scrape a website for font stylings?

I am trying to scrape websites for valuable text for example the title of an article, the author's name, and other distinguished text. I cannot always guarantee that this sort of text will have ...
1
vote
1answer
153 views

Why some Javascript code needs to be written in different tags and not embedded within the same

When I was using the modernizr file, I came across this problem where in I need to source a file and call the script. <script src="js/modernizr-min.js"></script> <script> if ...
1
vote
1answer
99 views

Should I be using OOCSS in a CSS theme?

I have heard of OOCSS some time ago, but never really looked into it. Today I did so, and I thought of the implications of applying OOCSS to a simple CSS theme. One problem I thought of is that, by ...
1
vote
2answers
225 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
107 views

What is the right way to parse HTML? [closed]

I've heard, that parsing HTML using the Cthulhu way is not very good. But what are the right ways to parse HTML? Or is it possible to parse it at all?
0
votes
4answers
310 views

Why isn't there an html tag “field”? [closed]

There is a <fieldset> tag for a set of fields. Why isn't there a hierarchical child for fieldsets? <form> <fieldset> <legend>Thin Sandwich Options</legend> ...
-3
votes
1answer
111 views

How to restrict user submitted CSS within <div> [closed]

We are having rich text editor in which we can insert html. if any input contains <style> tag then the css is applied to entire window. is it possible to restrict that CSS to be applied within ...
1
vote
2answers
141 views

Separating php and html code [closed]

What is the industrial practice on how to separate html and php code in a web project? Using echos to generate html is considered bad but what is the standard way to achieve the sought separation? ...
48
votes
5answers
24k views

Two HTML elements with same id attribute: How bad is it really?

Just browsing the google maps source code. In their header, they have 2 divs with id="search" one contains the other, and also has jstrack="1" attribute. There is a form separating them like so: ...
0
votes
2answers
85 views

Intermittent flickering on mouse move [closed]

We have an internal website that is written in javascript and jquery and is only used in with ie8. Everything is fine but after a certain time, screen flickering starts to occur when the mouse ...
19
votes
12answers
1k views

How to talk a client out of a Flash website? [closed]

I have recently been doing a bunch of web side projects through word of mouth recommendations only. Although I am much more a of a programmer than a designer by any means, my design skills are not ...
24
votes
5answers
2k views

Tight Coupling Between Javascript, HTML, and CSS: A More Modern Approach?

It's very common to see Javascript bound to certain selectors to find elements, store data, and listen for events. It's also common to see these same selectors used for styling. jQuery (and its ...
35
votes
14answers
5k views

How important is it to clean up someone else's code when faced with a tight deadline? [closed]

(I'm talking about HTML / CSS code (not programming languages) but I think we also face the same issue as with programmers.) I am the senior front-end designer in a team and I often have to re-work ...
0
votes
1answer
110 views

Building an organization-specific XML editor in HTML

I'm building a user friendly XML editor in HTML/JS. Looking for some general advice on how to build the editor UI and which approach you'd recommend on mapping the data to the UI. Details about the ...
2
votes
3answers
146 views

Can display issues affect SEO?

Can website display issues on certain platforms affect a website's search rankings and potentially hinder any SEO efforts?
6
votes
3answers
457 views

Differences betwen HTML templating systems

I'm looking at backbone.js and noticed that it supports various templating systems (they specifically refer to Mustache.js, Haml-js, and Eco, but I understand it can support even more)(like Pure and ...
1
vote
8answers
495 views

Should PHP view files be called something other than '.php'?

By default, any file that PHP touches is usually suffixed with .php. It's universally understood by Apache / Nginx as the default for PHP files and most setups expect PHP files to end in this ...
0
votes
1answer
51 views

What is the best way to keep both html document structure and php control structure strongly visible in complex view file

I create a lot of views in my work as part of the common MVC pattern applied in web frameworks like Code Igniter and Cake. I also adhere to the following maxim as best I can: fat models and library ...
2
votes
3answers
417 views

Reasons for moving from pure JavaScript to a JavaScript library

Being aware of the direct benefits of libraries having things wrapped in a package, making daily work easier, my question is leaning more towards the fact that many features not implemented in ...
-2
votes
1answer
115 views

Why is an A element often used instead of a BUTTON for web design? [closed]

Is there any particular reason why people use the A tag to mimic a BUTTON in HTML and JavaScript?
0
votes
3answers
299 views

What process should I follow to implement (code) a web site in HTML5/CSS?

The title question is unfortunately pretty vague (or at least may be asking differently than what I intend)... but let me elaborate. I know basic HTML5 and CSS. I don't need to learn the tags and how ...
1
vote
1answer
249 views

HTML DOM in .NET: following specification vs. following language standards [closed]

Let's say we're implementing HTML DOM in C#. Naming conventions are different: HTMLCollection interface/class vs. IHtmlCollection/HtmlCollection, body attribute vs. Body property etc. Behavior is ...
3
votes
1answer
156 views

How to avoid too much html in JQuery?

I'm not liking how my JQuery is after making some dynamic buttons, or other dynamic things. For example, when I have checkboxes marked, I add a button that is called "Download Selected" and "Remove ...
1
vote
1answer
169 views

Is learning different programming languages from different categories good? [closed]

I have read some posts regarding learning different programming languages or not. Most of the answers indicate that learning more than one programming language increase our horizon as a programmer and ...