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
vote
1answer
41 views

Spam validator - beta version

I wrote a PHP function 7 days back , which avoids (calculate spamming severity) via manual spamming . So was just a curious to know, what if I create a JS plugin (my first) which can act as an SPAM ...
3
votes
1answer
49 views

Best practice for generating jQuery dynamical content

I am new user of CodeIgniter and I am trying to build an application that there are lots of jQuery dynamical content. Below I provide a code that I am using in order to be precise. The code below is ...
9
votes
1answer
91 views

Opinions on my HTML structure

I have spent the last 6 months as I am studying web development in college to build a website template that is responsive and accessible from as many devices and browsers as possible. I would really ...
5
votes
1answer
60 views

Tooltip plugin for portfolio website

I am writing my own tooltip plugin for my portfolio website that I am currently working on. So far I have this code below. It works rather well however I feel that there is a lot I could improve. ...
5
votes
1answer
144 views

Is there a shorter way to write this jQuery code?

I'm using two category filters from this demo. I give the filters two different sets of classes so they won't affect each other. Since I'm very new to jQuery, all I can come up with is repeating the ...
4
votes
1answer
41 views

Inset Text Shadow Review

DEMO: http://jsbin.com/nehut/1/edit?html,css,output HTML <body> <!-- Introduction to the text shadow property --> <div class="container one"> <h1>The Dark ...
6
votes
1answer
51 views

Member list reveals member information on click (#2)

Not a follow-up, but related to Member list reveals member information on click (#1). I now want my CSS reviewed. What I'm doing? The content in a list of members is revealed by jQuery (see review ...
8
votes
1answer
74 views

Simple CoffeeScript navigation menu

I'm using simple script to handle tab menu like this: HTML: <nav id="personal"> <ul class="clearfix"> <li id="personal-info">Info</li> <li ...
4
votes
1answer
88 views

Validating HTML Form

I am trying to create a simple validation for forms. I am almost there, but there are few bugs and optimization errors that I am really struggling with. I'm looking for advice on how to make this ...
5
votes
2answers
92 views

Injection with Chrome Extension

I am building a Chrome extension that injects a small overlay in to all websites using a content script. At this point all the injected elements do is sit in the bottom left corner. It has two buttons ...
9
votes
3answers
102 views

Displaying random quotes from an array

Is there anything that I could have done better in this code? <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Quotes</title> <style> body { ...
7
votes
2answers
118 views

Is this secure for a simple comment system?

<!doctype html> <html> <head> <meta charset="utf-8"> <link rel="stylesheet" type="text/css" href="style.css"> <?PHP //Turn off error reporting (Not Necessary) ...
8
votes
2answers
68 views

Member list reveals member information on click (#1)

What I'm doing? I'm creating a member-list where initially only the names are visible. Clicking the names reveals the member information. This is done with jQuery by adding/removing classes. I left ...
4
votes
1answer
36 views

Review of HTML markup for this blog concept

I am creating a blog concept with this layout on CodePen Here is my current code in development <article class="post"> <h2>Skating Down Venice Beach</h2> <img ...
3
votes
2answers
114 views

Simplifying this form validation script - version 2

A week ago, I have asked how to simplify a form validation. From the answers, the code now is improved. Can anyone please share their opinion on the approach used below and advise me if there is a ...
3
votes
2answers
50 views

Append table cells to select boxes in indexed order

I am having a huge brain fart with efficiency right now. The idea here is if I have a static table (unfortunately formatted this way with the data I've received), how would I appropriately append a ...
8
votes
3answers
167 views

Testimonial section with HTML tags

I created this testimonial on CodePen I am a bit skeptical about a few things in my HTML structure. For example, I typically see testimonials enclosed in <div>s with custom classes. In my ...
6
votes
2answers
83 views

Simplifying this form validation script

Can anyone please help me to simplify this form validation script? It works great but I was just wondering if I can get some help to make it simpler. Your opinion on the approach I used below is ...
15
votes
3answers
696 views

View for Ultimate Tic-Tac-Toe board

I've put together a board for Ultimate Tic-Tac-Toe (What's that?). This is part of the current code-challenge: Code a Ultimate Tic-Tac-Toe Resources: Live demo of my view – For you to see ...
3
votes
2answers
55 views

How can this <ul> be set up to maximize inheritance if additional classes will be passed in from a JSON file?

Objective Currently I have the flags hardcoded. But want to optimize my code for production. So I am wondering if I have this code done clean enough to leverage CSS inheritance while maintaining ...
9
votes
2answers
207 views

Matching script tags with regexes

Like anything that shouldn't be done, I decided to see if it is possible to match <script> tags robustly using regexes in PHP. Since there is no arbitrary nesting, I figured it should at least ...
5
votes
1answer
123 views

Was this use of <img> tags in this HTML over background images better?

I saw this UI for a mobile app, but I reverse engineered it for the web. This is how it looks in my CodePen This would be either a favorites or featured list locations to travel to. I decided to go ...
3
votes
1answer
55 views

HTML and CSS markup to achieve desired result

I am new to HTML and CSS. I was wondering if anyone could give me some advice on my use of markup and CSS to achieve this result. I am trying to get a fixed full height sidebar with a list with sprite ...
10
votes
2answers
143 views

Review structure of PHP/HTML

I am very new to PHP and I kind of sort of want to create the pages like I would in ASP.NET; it's just the way I am wired. I have been inserting the header/menu using a PHP Include and here is what ...
5
votes
2answers
104 views

Monopoly: Board creation

After initially struggling with the board size, I have now decided the dimension. Please review my code. In the code I am generating HTML code using PHP and MySql. I have not added the database, ...
5
votes
1answer
37 views

Is this HTML structure and CSS DRY enough in this country selection menu?

I have built this conceptual design of a localization menu on this CodePen I am wondering if I should have structured my <div>s better or if this should be wrapped in a <ul> instead ...
7
votes
2answers
162 views

Is my use of CSS inheritance clean enough for these sprites?

I have a set of links with background images on this CodePen. I am seeking feedback to see if I did this the most optimal way. For example, I made a sprite so that I can just load one image. And I ...
1
vote
1answer
75 views

Monopoly: Creating a monopoly board

I am creating a Monopoly board game using HTML, CSS, PHP, JS and JQuery. I am doing this to develop my web development skills. I have cut the project into sections. So this question will only deal ...
7
votes
6answers
169 views

How would you better organize/code this basic HTML and CSS?

I'm curious to see what any of the more experienced programmers would do instead of methods I took as a learning tool. Any tips/tricks/fixes and reasoning is appreciated!! http://www.jacobweyer.com ...
2
votes
3answers
77 views

Better way to use pseudo elements

Here is a JSFiddle of an accordion menu that i've done. I have used :before to add the icons. My question is, is there a better way to Add different icon to each li item? My code is as follows: ...
1
vote
1answer
53 views

Create HTML listing of source code

This is a Python script I made to create a HTML page listing the source files in the current directory. The script creates a syntax highlighted preview of the files and lists some basic attributes. ...
4
votes
1answer
143 views

Slide out CSS menu

I've developed a simple CSS transition solution for a slide out menu with a single toggle, and would love some feedback on if anything could be simplified or improved. Markup <!DOCTYPE html> ...
4
votes
1answer
70 views

Markup of a blog page and its posts

Currently building my personal site using Jekyll, inuitcss and GitHub Pages. I'd like to hear your thoughts on the markup of my blog page and its post pages. What do you think about handling logo's ...
6
votes
1answer
85 views

Review on a PHP login/authentication system

I am currently working on a small website for my scuba diving club, and it needs a "simple" login system to allow members-only features etc. I've been using the php-login-minimal as the base for the ...
6
votes
1answer
43 views

Rich Text on multiple iFrames

Having so many loops running concurrently obviously can't be good, and the code seems overly complicated. There has to be a simpler, more efficient way to Turn the designMode of all iFrames on Find ...
5
votes
1answer
77 views

Resize iframe & textarea in reverse directions

I have a textarea and iframe whose sizes should change dynamically and in reverse directions. I'd like to achive this effect without using a frameset or jQuery plugin. Here's the result of my attempt: ...
3
votes
2answers
63 views

Making CSS rules for links in header more DRY

I want to implement the cleanest amount of CSS through proper use of inheritance. All links need to be a shade of white, so lets say #fff HTML <div class="header"> <div ...
7
votes
1answer
96 views

Improve page-specific CSS for different color schemes

For a website with four pages (blog, portfolio, profil and impressum) I have four different color schemes (for links, headings, code, etc.). This results in bloated CSS which I want to reduce. Here ...
8
votes
2answers
75 views

One page website with JS functionality

I am fairly new to web development, and would like some feedback. It is HTML/CSS, with some JS (button hovers, anchor scrolling and image sliders) from elsewhere. Comments on best practices and any ...
7
votes
3answers
98 views

Removing unnecessary floats, height, widths

I have coded a webpage and it looks exactly how I want, but I think there could be improvements, possible as unnecessary floats, etc... Could anybody please review my CSS code? Its not difficult or ...
6
votes
1answer
80 views

Plain CSS buttons in different sizes

Just a plain button, in different sizes. I wanted to achieve exactly the same styling cross browser for both anchors, inputs and buttons. I'm just wondering if this could be improved. Markup ...
2
votes
0answers
96 views

Dynamically generating a HTML option list using Angular.js

I used step 4 from the Angular tutorial to do some tinkering of my own. In that particular step of the tutorial, a option list is created that determines how a list is sorted (Alphabetically, by age). ...
2
votes
1answer
22 views

Handling objects and arrays simply in this tagging library

I have written this little tagging module to make it easier to generate small html snippets on the fly. The examples below show how this make things a bit easier. My question is about the handling of ...
0
votes
3answers
56 views

Optimizing with microdata and address tag

Can I improve this markup? Is it SEO friendly? <div class="bloc-contenu group" itemscope itemtype="http://schema.org/Hotel" itemref="logo nom-hotel"> <p><iframe ...
7
votes
2answers
79 views

Tabulate text with JavaScript

Pretty printer in ABAP does not take care of all my aligning need, so I wrote a small JS script that tabulates/aligns with a custom string. It contains HTML, CSS and script in 1 file because this is a ...
2
votes
3answers
200 views

How to improve this current contact form?

I have just started learning how to build websites, and I have been experimenting by creating a contact form. Here is what I currently have - can anyone suggest and recommend ways enhance my current ...
-2
votes
1answer
56 views

Using a div only as a spacer [closed]

I implemented a CSS class to add margin bottom. .mb24 { margin-bottom: 24px; } Which I thought I could just add to any div that needed that amount of spacing. But there were some conflicts when ...
4
votes
4answers
97 views

Improve HTML structure?

I am not new to html however would like to know about best practices. I need to develop a layout like this: This is what I have proposed: <div id="body"> <div id="body-main"> ...
2
votes
1answer
408 views

jQuery dynamic elements like TR and TD, add to HTML table

Is it possible to create dynamic TR and TD elements in an HTML table? Something similar but better than this: jQuery(document).ready(function() { $('button[name="new-title"]').on('click', ...
27
votes
4answers
5k views

Conway's Game of Life in JavaScript

I made Conway's Game of Life in JavaScript and was hoping someone could give me some pointers regarding my logic of checking adjacent cells. I know there must be a better way, but at the same time, it ...