HTML (HyperText Markup Language) is the predominant markup language used for creating web pages.
3
votes
1answer
65 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
votes
0answers
16 views
why cant you access first div element of body like document.body.div[0] in html/javascript [migrated]
i can do document.body.childNodes[1] but why not this. How does it work for document then.
Sorry if i am missing something.
Following this logic, body should have been only accessible through
...
-4
votes
1answer
191 views
Beginner webdeveloper. How to make development right? [closed]
I work for a company that has developed its own PHP framework. From my perspective, it seems quite hard and tiresome to develop and maintain websites in this framework.
Let me give an example. It is ...
1
vote
4answers
147 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 ...
-1
votes
0answers
48 views
jQuery - looking for a component akin to a mind map [closed]
I've jQuery just a few times and am hoping there's a component which functions as you can see in the screenshots below - click the '+' to expand the sub-topics, click '-' to collapse them, etc. Can ...
-4
votes
1answer
79 views
Making <li class=“”> active and inactive [closed]
I have a simple html page in which i'm including header.php, footer.php files.
In this page there is a sidebar which is styled by css. I want to take this sidebar out and include it through php ...
-5
votes
1answer
76 views
Why do we need Reporting Tools? [closed]
In most projects, reporting tools such as crystal reports are choosed to display data. There are many reporting tools we can choose. Perhaps some of them is easy to use, but most of them are a little ...
0
votes
3answers
128 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
180 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 ...
0
votes
4answers
328 views
To use custom CSS/HTML template or write code from scratch for a web application back end
I just developed the front end of a unique application for which I coded all the HTML, CSS, jQuery, and JavaScript. Now I want to start developing the back-end or admin panel. What's the best option ...
4
votes
1answer
148 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
152 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 ...
-1
votes
2answers
99 views
Website Development Process - HTML to CMS [closed]
I need some advice from experts. I recently hired someone to develop our website. She submitted and we approved a proposal for $9100 to first code the website in HMTL and host on Dreamhost and then ...
0
votes
1answer
134 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
136 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 ...
-3
votes
1answer
230 views
best way to learn HTML and CSS [closed]
I want to learn HTML and CSS in Nowruz holidays, what way do you suggest?
according to that I know about HTML a bit, is possible to learn HTML5 directly without full knowledge about HTML4?
thanks!
4
votes
0answers
128 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
123 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 ...
1
vote
4answers
128 views
Choosing DOCTYPE for an online eBook
I'm about to begin working on a project which involves creating an eBook-like website which will contain lots of large documents with text and images.
The site should have a rather minimalistic ...
2
votes
4answers
314 views
Why Have People Started Deeming it Necessary to Separate JS hooks from CSS hooks in HTML?
Edit: Point of clarificatioon, IDs and classes as separate hooks is just one form of the applied idea in question which is to never use the same hooks for CSS as you do in JS. I've also seen people ...
1
vote
1answer
138 views
Why do we program each file separately and place them in separate folders and how do all these file come together?
I was wondering how the cover flow effect is coded. I used this link which gave me the code on how it all worked out : http://luwes.co/labs/js-cover-flow/. I am completely new to complex programs so ...
1
vote
4answers
137 views
Suggestions for CSS frameworks? [closed]
So I've started developing web sites and have learned HTML and CSS fundamentals. However, I often run in to WTF-moments concerning layout; what looks good in one browser may look strange in another ...
-3
votes
3answers
303 views
how easy is html/css? [closed]
many people say that html/css is something easy, it looks easy at first sight but when i worked on some projects i noticed that :
same value works differently depending on other properties and on ...
1
vote
1answer
150 views
Value of frameworks for mobile web applications [closed]
Longer version, see below for the TL;DR
As a developer with a strong background in the development of "classic" web applications I have been thinking about mobile web application architectures. One ...
-1
votes
2answers
445 views
What are some interview questions I can expect for a technical evaluation? [closed]
I am 20 years old and I've been doing some web development work for about 2 years or so. I have an interview for a Junior Web Developer position and the company knows that but I'll still be going ...
1
vote
1answer
64 views
Rules for doctypes
After going through a lot of articles and this post, i know Why doctypes are used for and also about the different modes triggered by the browser like standards, quirks etc.
I downloaded the a strict ...
5
votes
3answers
140 views
CSS Classes for semantics vs. styles in general cases
The W3C spec on the class attribute says
There are no additional restrictions on the tokens authors can use in the class attribute, but authors are encouraged to use values that describe the ...
1
vote
1answer
181 views
Should one declare alternative response types (e.g. JSON) in Rails controller actions even if not utilising them?
Just wondering what the accepted convention is for Rails controller design. Currently, every controller in my app that I've written it set up to send a JSON response when necessary. Thing is, I only ...
10
votes
4answers
997 views
Which is better: to include HTML inside PHP code or outside it?
Look at this:
<?php
echo "Hello World";
?>
<br />
<?php
echo "Welcome";
?>
And now look at this:
<?php
echo "Hello World";
echo "<br />";
echo "Welcome";
?>
Which ...
9
votes
8answers
1k views
Do I have to learn html and javascript to create web applications?
I am an experienced Java programmer, and I want to create a complex web application requiring dynamic pages, drawings, etc (take SO as an example). Do I have to learn javascript/html in order to ...
23
votes
8answers
5k views
Should I write HTML or CSS first?
There are a lot of analogies for HTML/CSS development; which can be a bit confuse for a beginner.
HTML = foundations/house
CSS = walls/blueprint/wallpaper
Is there any best practice here? ...
5
votes
5answers
362 views
Best way to protect website application code
Background
I have a web application that I host on my own server. I have clients who use the application as is, but some have asked if they can host the application on their own server. This enables ...
0
votes
0answers
108 views
Benefit of using Data URI to embed images within HTML document and its cross-browser compatibility
I want to embed an image using Data URI within HTML document so that we don't need image as a separate attachment, we get just one HTML file that contains the actual image. What are its advantages and ...
7
votes
4answers
298 views
css - use universal '*' selector vs. html or body selector?
Applying styles to the body tag will be applied to the whole page, so
body { font-family: Verdana }
will be applied to the whole page. This could also be done with
* {font-family: Verdana}
...
1
vote
1answer
145 views
'Windows' in a browser using html/css/js [closed]
I'm about to make a html/css/js/jquery page and I want it to contain collapsible, movable boxes/divs. Each box will typically contain a table or a graph and the idea is that the user should be able to ...
3
votes
3answers
441 views
Should I leave href empty when implementing click events via jQuery?
Is it preferable to have # in a link's href attribute when I am implementing the click event via jQuery, or is it ok to leave href empty?
i.e.
<a id="myLink" href="#" />
vs
<a ...
0
votes
3answers
133 views
Render Ruby object to interactive html
I am developing a tool that discovers network services enabled on host and writes short summary on them like this:
init,1
└── login,1560 --
└── bash,1629
└── nc,12137 -lup 50505
{
...
5
votes
2answers
229 views
Using table-styled divs instead of tables
I was referred here from stackoverflow as my question was apparently too broad.
I'm working on a template, and I know using CSS is preferred over HTML tables for positioning... But, is it acceptable ...
0
votes
1answer
83 views
Suggestions for html tag info required for jQuery Plugin
I have written a tiny bit of jQuery which simply selects all the Select form elements on the page and sets the selected property to the correct value. Previously I had to write code to generate the ...
-2
votes
1answer
98 views
Why is DOM or JQuery considered an API? [closed]
My understanding of an API is this:
An API is the interface implemented by an application which allows
other applications to communicate with it.
So why is DOM or Jquery considered to be an ...
5
votes
2answers
528 views
Custom HTML Tags: Are there any specifications stating a standard way to handle them?
It seems like for years they've just been given default styling and inline display. Is there a spec somewhere that has dictated this? I've looked over the RFC's but I'm not particularly good with ...
3
votes
1answer
167 views
What is meant by sandboxing?
Sanboxing is listed as one of the many security features in html5 specification . Can someone explain what is meant by sandboxing? Does it relate to HTML only or to JavaScript also?
5
votes
3answers
463 views
Managing JS and CSS for a static HTML web application
I'm working on a smallish web application that uses a little bit of static HTML and relies on JavaScript to load the application data as JSON and dynamically create the web page elements from that.
...
4
votes
1answer
113 views
What is meant by namespaced content and what advantages does it have?
I was reading this blog by James Bennett regarding HTML vs XHTML . He writes :
I don’t have any need for namespaced content; I’m not displaying any
complex mathematical notation here and don’t ...
3
votes
8answers
4k views
What is the best way to create HTML in C# code?
I have a belief that markup should remain in mark-up and not in the code behind.
I've come to a situation where I think it is acceptable to build the HTML in the code behind. I'd like to have some ...
13
votes
7answers
1k views
ASP.NET Webforms developers and web designers: how to interact?
I'm an ASP.NET Webforms developer, and I face some problems when I deal with designers.
Designers always complain about the asp.net server controls. They'd rather just have an html file and create ...
-2
votes
3answers
134 views
Development env for PHP Javascript HTML and CSS [closed]
All these days I was using gedit to type my code in PHP JS and HTML.
Now I need a better editor or an IDE or a whole development environment please let me know.
1
vote
1answer
119 views
Does JAXP natively parse HTML?
So, I whip up a quick test case in Java 7 to grab a couple of elements from random URIs, and see if the built-in parsing stuff will do what I need.
Here's the basic setup (with exception handling etc ...
6
votes
2answers
401 views
Proper Use Of HTML Data Attributes
I'm writing several JavaScript plugins that are run automatically when the proper HTML markup is detected on the page. For example, when a tabs class is detected, the tabs plugin is loaded dynamically ...
6
votes
5answers
432 views
Why is semantic markup given more weight for search engines?
This question follows directly from the part of an answer of this question - Why would one bother marking up properly and semantically? .
I would like to understand why SEO techniques gives more ...



