HTML (Hyper Text Markup Language) is the standard content markup language of the web. It is an open standard developed and maintained by W3C (World Wide Web Consortium).

learn more… | top users | synonyms

-1
votes
0answers
18 views

Why does my third column line-break? [closed]

How do I make the three columns I have on different lines parallel to each other? jsFiddle: http://jsfiddle.net/JordanSimps/n79LY/2/ HTML: <div id="middle_container"> <div ...
-1
votes
0answers
18 views

html form not working in google chrome [closed]

I have a login page which accepts username and password and when you press enter then it is taking to home page. This is working perfectly in mozilla firefox and opera but its working at all in ...
3
votes
1answer
30 views

Improvement on code

Okay, I'm just a little newbie in programming just doing it for a past time hobby. I am just recently making a web editor for fun and the way I was doing it (Using PHP) I was told would be a bad way. ...
-1
votes
1answer
18 views

How do I make my header title and slogan parallel to my navigation and my logo parallel to my title and slogan? [closed]

This is what I'm trying to do: jFiddle Example: http://jsfiddle.net/JordanSimps/hgwyS/ HTML: <body class="body"> <header class="mainHeader"> <nav><ul> ...
2
votes
2answers
30 views

Minimizing CSS media queries for the page title?

I am working on page titles to be responsive. The code I have works and gets the job done, but I know that this is verbose. I decided upon the widths by trial and error based on how the words were ...
-4
votes
0answers
53 views

I've spent a month without washing, shaving or leaving my office [closed]

Can you please look over http://www.interimspaces.co.uk and tell me what you think. specifically - problems and feedback. THank you
-2
votes
0answers
42 views

Please review my site - amateur programmer making own company's website [closed]

I've programmed a website for my company, and would really value some feedback. I realise this may not be the best forum for this, is there a better place? http://www.interimspaces.co.uk I have some ...
-2
votes
1answer
34 views

Is this a good use case for a database or will I be fine with tables? [closed]

I am doing a rebuild of a website that needs to be converted to responsive. Originally, I was under the impression that the table of listings for locations of offices was perhaps under a hundred. ...
1
vote
1answer
57 views

PHP: Random imgur image loader

Just a little thing I made to load 20 random images from imgur. I looked at the way that imgur references images on its site, and I felt like I could probably generate a random string of letters and ...
2
votes
1answer
25 views

Is there a method to add multiple properties to HtmlTextWriterStyle?

I am creating new elements for a webpage at run-time and I have code like this: var dynDiv = new System.Web.UI.HtmlControls.HtmlGenericControl("Div") {ID = "dynDiv"}; ...
0
votes
0answers
22 views

Containing the navigation bar in the Foundation 4 framework with CSS?

I am looking for the cleanest way in the CSS to contain the navigation bar to the center of the site I am working on. As you can see from the picture below, the content in the header is pushed to the ...
1
vote
0answers
42 views

Optimize HTML Document Function

bool sucess = false; var htmlDocument = new HtmlDocument(); while (!sucess) { try { var httpWebRequest = (HttpWebRequest) WebRequest.Create(aUrl); ...
2
votes
1answer
101 views

I need someone to check this out to improve it

Takes a name, 2 images and a birthday for an artist, uploads images and insert info into MySQL, I seem to be missing something and I'm looking to see if i'm following best practice. <?php ...
2
votes
1answer
48 views

Least amount of HTML and CSS to create a bottom border for every section?

I am doing a redesign and have some previously existing content in HTML that is similar to <p class="testimonial-text">Bacon ipsum dolor sit amet aliquip est tail occaecat bacon ad qui short ...
2
votes
1answer
31 views

Condensing Navigation jQuery

I have some jquery that pretty much just runs a small drop-line navigation. Each tab size differs, so i used the same jquery line 5 times to make it look and function the way i wanted it to. I'm sure ...
1
vote
2answers
55 views

HTML containers and positioning - Code Review

I just started to make a static website after years of not playing in that field (stopped in the early 2000s), just to try to remember what I lost over time. Before going any further, I wanted to know ...
3
votes
1answer
51 views

Have I missed some obvious XSS vulnerabilities?

As the question states: have I missed some obvious security vulnerabilities in this code? Particularly interested in XSS... I'm trying to create something more robust that strip_tags, but simpler ...
1
vote
1answer
62 views

How can I make jquery animations faster for mobile devices?

I recently made this campus timeline for my university. You can see it here My question is this: When viewing the timeline on a mobile device (not a tablet), the navbar changes so that you can jump ...
1
vote
2answers
66 views

JavaScript - Does this link need improvement?

I would like to hear your feedback on the link below that lets users add a link to a website. I read that javascript:void(0) is suggested instead of a # for the <a href="" attribute. Is this still ...
1
vote
2answers
89 views

Assist cleaning up messy HTML/PHP code

I really hate messy code, but I seem to be rolling in it. I just want to see if anyone has some helpful advice on how to tidy this up. <table> <tbody> <tr> <th>Zona</th> ...
3
votes
1answer
33 views

jQuery - Drop Down QA

Here's a fiddle: http://jsfiddle.net/YF8cg/ Focussing entirely on the javascript and on the structure of the HTML (.qapair .question and .answer), how could I improve this system? JS: ...
0
votes
2answers
78 views

Looking for a code review(non-profit website) [closed]

I'm very new to web dev I volunteered to work on a non profit website So here is where I'm + I would like to know what mistake I did & how to centre the website in the browser and make it ...
4
votes
1answer
70 views

Create a table from MySQL using PHP PDO

I am trying to simply present a table in HTML that is stored in a MySQL database. I would like to use Object Oriented PHP to access and fetch the data for the table. I have spent some time learning ...
3
votes
0answers
28 views

What improvements can I make to this table filtering jQuery Plugin?

This plugin is meant to filter through a table based on column header text that matches options given to it. check it out here: Filter Table Plugin Plugin code below for reference: //framework from ...
-2
votes
1answer
58 views

How to make matrix like text change effect in javascript? [closed]

I was trying to make this text change matrix movie like effect in JavaScript.The basic concept was that there is a div present in html and JavaScript take that div's inner text and manipulate it to ...
0
votes
0answers
48 views

How does Facebook toggle its notification center icons to display the respective DIVs with the notifications when clicked? [closed]

How does Facebook toggle its notification center icons to display the respective DIVs with the notifications when clicked? All of you have at-least interacted with the Facebook notifications center ...
1
vote
1answer
61 views

How can this be done in the shortest way?

I have saved the class holding the position of the i element in the a tag that is clicked by the user. When the a tag is clicked, I want to get the value of its attr and add it as a class to the i ...
1
vote
1answer
50 views

Changing master page's menu

Discovered that the existing menu in a web app I'm working on has an issue in Chrome, where the "Logged in as" section would jump off the menu bar down below. After looking through the code, I'm ...
3
votes
2answers
181 views

Is this spaghetti javascript code? How can it be refactored with a javascript library or framework?

The code allows you to select an area from the left column and another area from the right column followed by clicking on the Choose button which sends the chosen areas to the server: <html> ...
4
votes
2answers
68 views

Improving Code pointers

I'm new to jQuery and I've been messing about with this code, It works but I want to learn how to shorten the code by the eliminating unnecessary repeated code. Below is a link to jsFiddle ...
3
votes
4answers
107 views

Get the value of the name attribute of each element with class=“class”

I need a function to get the value of the name attribute of each element with class="class". I was wondering what is the best way to do this, performance-wise. Currently I'm using jQuery and doing it ...
3
votes
1answer
50 views

Improve on CSS3 Selectors

I'm trying to change the background-color of each .achievement div. The content is being generated dynamically so I can't add a class easily to each one. I have it working with selectors like ...
3
votes
1answer
93 views

Optimizing PHP script fetching entire HTML pages

The following script should get links which are stored in a text file (line by line), then put them into an array and finally scan each links' source code for a certain line. If this line is found, it ...
3
votes
2answers
148 views

Better way to filter select list

I'm brand new to javascript and jquery and I feel like there's probably a better way to do this. It seems that the way I designed it may not be very optimal once you get a thousand entries in the list ...
2
votes
1answer
54 views

Edit/Details form in JavaScript

I have a Edit/Details form which has 4 user related fields. On click of Save, I save the edited fields to local storage (if supported) and display the same values in the Details view. Below is the ...
2
votes
1answer
122 views

Proper conventions in PHP - admin page example

I'm learning php. I've designed the basics of an admin page i'd like to use for a small web site. I'd like to know if I'm using the language properly. Please rip apart the code and tell me where I ...
0
votes
1answer
49 views

Animating multiple DIV-Elements with JS and the DOM results in a low Framerate

Repost from Stackoverflow (here): I just started programming with javascript and I am currently working on this hobby web-site project of mine. The site is supposed to display pages filled with ...
3
votes
1answer
43 views

Positioning link boxes & managing backgrounds

I've managed to position the link boxes as I wanted and to apply a background to them, but I'm not sure I've done it in the most elegant or efficient way. Is there a better way to position the ...
3
votes
1answer
52 views

Semantically correct markup at practice

I'm writting a mark up for: And here is my HTML: <div id="container"> <header> <h1><img src="images/logo.png" alt="Jessica Priston - ...
4
votes
1answer
151 views

Is there a better way to write my jQuery slider?

First question here so please be gentle. I have developed a jQuery slider and I want to implement it in WordPress (it will be a Featured posts slider). This is my slider logic: If there are 1 or 3 ...
2
votes
2answers
116 views

HTML5 semantic layout (div, article, section) and explicit identifiers

I'm writing a markup for: And I've split it for these sections: <header> <div id="logo"></div> <nav id="mainNav"></nav> </header> <div ...
7
votes
1answer
137 views

Semantically correct html5 markup

I'm writing the markup for Corpora - A Business Theme: And started from the header section: Here is my markup for it: <header> <div class="topHeaderPart"> <a href="#" ...
2
votes
1answer
93 views

HTML - single page layout - absolute positioning

I am doing web apps, mostly single page apps. So i have to give absolute and fixed positioning a lot via css. For Example, consider this page layout: <html> <div class="app-header"> ...
3
votes
1answer
116 views

JS/Jquery newbie here… Can I please get some advice on improving my code?

You can see the JS at the end of this post in action here at http://andrew-oh.com/portfolio/timeline/ (It's responsive!) I've recently picked up javascript/jquery and would love some feedback on how ...
4
votes
2answers
158 views

Chopsticks game using HTML and JavaScript

Is there any way to simplify this code with loops or anything? I'm a beginner at JavaScript and my code is horrible. Please don't tell me to convert to jQuery or anything. function ...
3
votes
1answer
209 views

Filtering and Sorting jQuery Ajax response

What I'm trying to accomplish here is to pull a table of open employment positions with AJAX, filter out the garbage code that comes with it, put each <tr> from the response into its correct ...
1
vote
1answer
107 views

Blink Text with JavaScript

My code blinks text for an interval of time then clears the text. I plan to use this code in a quiz web app. When the user gets an answer right, "CORRECT!" will blink on the screen for 10 seconds. ...
-1
votes
1answer
51 views

Optimisation for random generator code in PHP [closed]

I'm really confused about combining MySQL queries and please could you lend me a hand? Please explain in simple English. The code is: $result1 = mysql_fetch_assoc(mysql_query("SELECT COUNT( * ) ...
4
votes
2answers
181 views

Carousel code review

Is there a better way to implement my carousel in less lines? Currently my solution is: <div id="myCarousel" class="carousel slide"> <div class="carousel-inner"> <% ...
2
votes
1answer
67 views

I've embedded several PHP/HTML/Javascript in one page. How can I improve on the efficiency/performance?

Just a quick preface, I'm not a web developer. I'm simply doing this as a favor for a friend. My goal is to be done with it as quickly as possible, but still not have the coding be horrendous. With ...

1 2 3 4