W3C

HTML 5.2

W3C Working Draft,

Acknowledgements

Thanks to Tim Berners-Lee for inventing HTML, without which none of this would exist, Dan Connolly, the many who worked to standardise HTML over the last couple of decades or so, and the many more who worked on ideas subsequently incorporated into HTML.

For inestimable work, and the drive to keep HTML up to date, particular thanks are due to Ian Hickson, and the other editors of the WHATWG: Anne van Kesteren, Domenic Denicola, Philip Jägenstedt, Simon Pieters.

Thanks to Tab Atkins, who produced the bikeshed tool used to build this spec, and https://github.com for tools to manage its development.

With apologies to people who have undeservedly not been named, thanks to

People who have contributed to this version of HTML

to complete

"aaaxx", "Acts7", Adrian Bateman, Adrian Roselli, Addison Philips, Alan Johnson, Alastair Campbell, Alex Danilo, Amelia Bellamy-Royds, Ana Luiza Bastos, André Zanghelini, Andrea Rendine, Andy Carter, Angelo Liao, Anne-Gaelle Colom, Anup Kumar Maharjan, Arron Eicholz, Ashley Bischoff, "avrljk", Axel Bocciarelli, Ben Buchanan, "bogdan0083", Boris Zbarsky, Brian Kardell, Chaals McCathie Nevile, "Chaoaretasty", Charles La Pierre, Christophe Strobbe, Cory Simmons, Craig Francis, Cyril Concolato, Dan Connolly, Daniel Dafoe, Daniel Davis, Daniel Glazman, Daniel Weck, Dave Cramer, David MacDonald, David Singer, David Storey, Denis Ah-Kang, Derek Koziol, Diego Lopes Lima, Dom Talbot, Domenic Denicola, Dominique Hazaël-Massieux, Don Hollander, "duckware", Dylan Barrell, Emerson Rocha Luiz, Eric Eggert, Florens Verschelde, Fuqiao Xue, "genwilkerhan", George Gooding, "gunlinux", Henrik "Henke37" Andersson, Heydon Pickering, Ian Devlin, Ian Yang, Isadora Coffani dos Santos Siqueira, Ivan Herman, J.C. Jones, Jake Archibald, James "thx1111", James Cobban, Janina Saika, Jason Kiss, Jason White, "jdsmith3000", Jeanne Spellman, Jeffrey Yasskin, Ji Seongbong, Jina Bolton, Job van Achterberg, Jonathan Kingston, Jonathan Neal, "klensin", Kangxi "kxgio" 朕的產生器, Kevin Marks, Kevin Suttle, Leif Halvard Silli, Léonie Watson, Lorenzo Scalfani, Mallory van Achterberg, Marat Talanin, Marc G. "mouvedia", Mark Amery, Mark Rejhon, Martin Dürst, Martin Janecke, Matheus Martins, "Mattok, Micha Rosenbaum, Mijabi, "mirabilos", Mike™ Smith, "Moonchild wolfbeast", "Mort&Mortis soanvig", namitos", Neil "ww3", Nhan To-Doan, Nicolas Hoffmann, Pankit Gami, Patrick Lauke, Phil Smith, Philippe Le Hégaret, Prayag Verma, Rachel Comerford, Richard Ishida, "RobBelics", Ruben Martinez, Russ Weakley, Ryosuke Niwa, Sangwhan Moon, Sara Soueidan, Sailesh Panchang, Sebastian Zartner, Sendil Kumar N, "SelenIT", Sergei Shoshin, Shane McCarron, Šime Vidas, Simon Pieters, stasoid", Steve Faulkner, Steven Lambert, Stuart Robson, Taylor Hunt, Terence Eden, "thapliyalshivam", "TheEskhaton", Theresa O’Connor, Thierry Koblentz, Tim Starling, Timo Huovinen, Tom Byrer, Travis Leithead, Tzviya Siegman, "Unor", Vadim Makeev, Varun Dua, Vilmar Neto, Vitaly Pinchuk, "WebDevCA", Wes, "Wolonetz", "woowaEcho", Cindy Wu Xiaoqian, Yann Gouffon, Yaroslaw "kciray8" "Zambonifofex"

People who have contributed to previous revisions of HTML 5.x

Thanks to the participants of the Responsive Images Community Group and the WHATWG for helping to develop the picture element, the srcset attribute, and the sizes attribute. Special thanks to Bruce Lawson for originally suggesting, Edward O’Connor and Ian Hickson for writing the original srcset specification, and Adrian Bateman for providing the group with guidance. Contributions also from: David Newton, Ilya Grigorik, John Schoenick, and Leon de Rijke.

Aankhen, Aaron Boodman, Aaron Leventhal, Adam Barth, Adam de Boor, Adam Hepton, Adam Klein, Adam Roben, Addison Phillips, Adele Peterson, Adrian Bateman, Adrian Roselli, Adrian Sutton, Agustín Fernández, Aharon (Vladimir) Lanin, Ajai Tirumali, Akatsuki Kitamura, Alan Plum, Alastair Campbell, Alejandro G. Castro, Alex Bishop, Alex Nicolaou, Alex Plescan, Alex Rousskov, Alexander Farkas, Alexander J. Vincent, Alexander Surkov, Alexandre Morgaut, Alexey Feldgendler, Алексей Проскуряков (Alexey Proskuryakov), Alexis Deveria, Alice Boxhall, Allan Clements, Ami Fischman, Amos Jeffries, Anders Carlsson, André E. Veltstra, Andrea Rendine, Andreas, Andreas Kling, Andrei Popescu, Andres Gomez, Andrew Barfield, Andrew Clover, Andrew Gove, Andrew Grieve, Andrew Oakley, Andrew Sidwell, Andrew Simons, Andrew Smith, Andrew W. Hagen, Andrey V. Lukyanov, Andry Rendy, Andy Earnshaw, Andy Heydon, Andy Palay, Anjana Vakil, Anna Belle Leiserson, Anthony Boyd, Anthony Bryan, Anthony Hickson, Anthony Ramine, Anthony Ricaud, Antonio Olmo Titos, Antti Koivisto, Arkadiusz Michalski, Arne Thomassen, Aron Spohr, Arphen Lin, Arron Eicholz, Arthur Stolyar, Arun Patole, Aryeh Gregor, Asbjørn Ulsberg, Ashley Gullen, Ashley Sheridan, Atsushi Takayama, Aurelien Levy, Ave Wrigley, Axel Dahmen, B Lingafelter, Bart Humphries, Ben Boyle, Ben Buchanan, Ben Godfrey, Ben Lerner, Ben Leslie, Ben Meadowcroft, Ben Millard, Benjamin Carl Wiley Sittler, Benjamin Hawkes-Lewis, Benoit Ren, Bert Bos, Bijan Parsia, Bil Corry, Bill Mason, Bill McCoy, Billy Wong, Bjartur Thorlacius, Björn Höhrmann, Blake Frantz, Bob Lund, Bob Owen, Bobby Holly, Boris Zbarsky, Brad Fults, Brad Neuberg, Brad Spencer, Brady Eidson, Brendan Eich, Brenton Simpson, Brett Wilson, Brett Zamir, Brian Blakely, Brian Campbell, Brian Korver, Brian Kuhn, Brian M. Dube, Brian Ryner, Brian Smith, Brian Wilson, Bryan Sullivan, Bruce Bailey, Bruce D’Arcus, Bruce Lawson, Bruce Miller, Bugs Nash, C. Williams, Cameron McCormack, Cameron Zemek, Cao Yipeng, Carlos Amengual, Carlos Gabriel Cardona, Carlos Perelló Marín, Casey Leask, Cătălin Mariș, Chaals McCathie Nevile, Chao Cai, 윤석찬 (Channy Yun), Charl van Niekerk, Charles Iliya Krempeaux, Charu Pandhi, Chris Apers, Chris Cressman, Chris Evans, Chris Morris, Chris Pearce, Chris Peterson, Chris Weber, Christian Biesinger, Christian Johansen, Christian Schmidt, Christoph Päper, Christophe Dumez, Christopher Aillon, Christopher Ferris, Chriswa, Chris Wilson, Clark Buehler, Cole Robison, Colin Fine, Collin Jackson, Corey Farwell, Corprew Reed, Craig Cockburn, Csaba Gabor, Csaba Marton, Cynthia Shelly, Dan Brickley, Dan Yoder, Daniel Barclay, Daniel Bratell, Daniel Brooks, Daniel Brumbaugh Keeney, Daniel Cheng, Daniel Davis, Daniel Glazman, Daniel Peng, Daniel Schattenkirchner, Daniel Spång, Daniel Steinberg, Daniel Trebbien, Danny Sullivan, Darin Adler, Darin Fisher, Darxus, Dave Camp, Dave Hodder, Dave Lampton, Dave Singer, Dave Townsend, David Baron, David Bloom, David Bruant, David Carlisle, David E. Cleary, David Egan Evans, David Fink, David Flanagan, David Gerard, David Håsäther, David Hyatt, David I. Lehn, David John Burrowes, David Kendal, David MacDonald, David Matja, David Remahl, David Smith, David Storey, David Vest, David Woolley, DeWitt Clinton, Dean Edridge, Dean Edwards, Debi Orton, Derek Featherstone, Devarshi Pant, Devdatta, Dimitri Glazkov, Dimitry Golubovsky, Dirk Pranke, Dirk Schulze, Dirkjan Ochtman, Divya Manian, Dmitry Titov, dolphinling, Dominic Mazzoni, Dominique Hazaël-Massieux, Don Brutzman, Doron Rosenberg, Doug Kramer, Doug Simpkinson, Drew Wilson, Dylan Barrell, Edmund Lai, Eduard Pascual, Eduardo Vela, Edward O’Connor, Edward Welbourne, Edward Z. Yang, Ehsan Akhgari, Eira Monstad, Eitan Adler, Eliot Graff, Elisabeth Robson, Elizabeth Castro, Elliott Regan, Elliott Sprehn, Elliotte Harold, Eric Carlson, Eric Casler, Eric Lawrence, Eric Rescorla, Eric Semling, Erik Arvidsson, Erik Rose, Evan Jacobs, Evan Martin, Evan Prodromou, Evan Stade, Evert, fantasai, Felix Sasaki, Francesco Schwarz, Francis Brosnan Blazquez, Franck "Shift" Quélain, François Remy, Frank Barchard, Frank Liberato, Frank Olivier, Fredrik Söderquist, 鵜飼文敏 (Fumitoshi Ukai), Futomi Hatano, Gavin Carothers, Gavin Kistner, Gareth Rees, Gary Kačmarčík, Garrett Smith, Geoff Richards, Geoffrey Garen, Sam Sneddon, Gez Lemon, George Lund, George Ornbo, Gianmarco Armellin, Giovanni Campagna, Giuseppe Pascale, Glenn Adams, Glenn Maynard, Graham Klyne, Greg Botten, Greg Houston, Greg Wilkins, Gregg Tavares, Gregory J. Rosmaita, Grey, Guilherme Johansson Tramontina, Gytis Jakutonis, Håkon Wium Lie, Habib Virji, Hallvord Reiar Michaelsen Steen, Hans S. Tømmerhalt, Hans Stimer, Harald Alvestrand, Henri Sivonen, Henrik Lied, Henry Mason, Henry Story, Heydon Pickering, Hugh Guiney, Hugh Winkler, Ian Bicking, Ian Clelland, Ian Davis, Ian Devlin, Ian Fette, Ian Kilpatrick, Ido Green, Ignacio Javier, Igor Oliveira, Ingvar Stepanyan, Iurii Kucherov, Ivan Enderlin, Ivo Emanuel Gonçalves, J. King, Jacob Davies, Jacques Distler, Jake Verbaten, Jakub Łopuszański, Jakub Wilk, James Craig, James Graham, James Greene, James Justin Harrell, James Kozianski, James M Snell, James Perrett, James Robinson, Jamie Lokier, Jan Molnár, Janusz Majnert, Jan-Klaas Kollhof, Jared Jacobs, Jason Duell, Jason Kersey, Jason Kiss, Jason Lustig, Jason White, Jasper Bryant-Greene, Jasper St. Pierre, Jatinder Mann, Jdsmith3000, Jed Hartman, Jeff Balogh, Jeff Cutsinger, Jeff Schiller, Jeff Walden, Jeffrey Yasskin, Jeffrey Zeldman, 胡慧鋒 (Jennifer Braithwaite), Jens Bannmann, Jens Fendler, Jens Lindström, Jens Meiert, Jer Noble, Jeremey Hustman, Jeremy Keith, Jeremy Orlow, Jerry Smith, Jeroen van der Meer, Jesse Renée Beach, Jian Li, Jim Jewett, Jim Ley, Jim Meehan, Jim Michaels, Jirka Kosek, Jjgod Jiang, João Eiras, Jochen Eisinger, Joe Clark, Joe Gregorio, Joel Spolsky, Joel Verhagen, Johan Herland, John Boyer, John Bussjaeger, John Carpenter, John Daggett, John Fallows, John Foliot, John Harding, John Keiser, John Snyders, John Stockton, John-Mark Bell, Johnny Stenback, Jon Ferraiolo, Jon Gibbins, Jon Gunderson, Jon Ribbins, Jon Perlow, Jonas Sicking, Jonathan Cook, Jonathan Kingston, Jonathan Rees, Jonathan Watt, Jonathan Worent, Jonny Axelsson, Jordan Tucker, Jorgen Horstink, Jorunn Danielsen Newth, Joseph Kesselman, Joseph Mansfield, Joseph Pecoraro, Josh Aas, Josh Hart, Josh Levenberg, Josh Matthews, Joshua Bell, Joshua Berenhaus, Joshua Randall, Jukka K. Korpela, Jules Clément-Ripoche, Julian Reschke, Julio Lopez, Junkee Song, Jürgen Jeka, Justin Lebar, Justin Novosad, Justin Rogers, Justin Schuh, Justin Sinclair, Ka-Sing Chou, Kai Hendry, 呂康豪 (KangHao Lu), Karl Dubost, Karl Groves, Kartikaya Gupta, Kathy Walton, Keith Hall, Keith Yeung, Kelly Ford, Kelly Norton, Kevin Benson, Kevin Gadd, Kevin Cole, Kinuko Yasuda Kornél Pál, Kornel Lesinski, Kris Northfield, Kristof Zelechovski, Krzysztof Maczyński, 黒澤剛志 (Kurosawa Takeshi), Kyle Barnhart, Kyle Hofmann, Kyle Huey, Léonard Bouchet, Lachlan Hunt, Larry Masinter, Larry Page, Lars Gunther, Lars Solberg, Laura Carlson, Laura Granka, Laura L. Carlson, Laura Wisewell, Laurens Holst, Lawrence Forooghian, Lea Verou, Lee Kowalkowski, Leif Halvard Silli, Leif Kornstaedt, Lenny Domnitser, Leonard Rosenthol, Léonie Watson, Leons Petrazickis, Lobotom Dysmon, Logan, Loune, Łukasz Pilorz, Luke Kenneth Casson Leighton, Maciej Stachowiak, Magnus Kristiansen, Maik Merten, Majid Valipour, Malcolm Rowe, Manu Sporny, Manuel Strehl, Manish Tripathi, Mallory van Achterberg, Marat Talanin, Marc Hoyois, Marcus Bointon, Mark Birbeck, Mark Davis, Mark Miller, Mark Nottingham, Mark Pilgrim, Mark Rogers, Mark Rowe, Mark Schenk, Mark Vickers, Mark Wilton-Jones, Marquish, Martijn Wargers, Martin Atkins, Martin Dürst, Martin Honnen, Martin Janecke, Martin Kutschker, Martin Nilsson, Martin Thomson, Masataka Yakura, Masatoshi Kimura, Matheus Martins, Mathias Bynens, Mathieu Henri, Matias Larsson, Matt Falkenhagen, Matt Garrish, Matt May, Matt Rakow, Matt Schmidt, Matt Wright, Matthew Gregan, Matthew Mastracci, Matthew Noorenberghe, Matthew Raymond, Matthew Thomas, Mattias Waldau, Max Romantschuk, Menachem Salomon, Menno van Slooten, Mia Lipner, Micah Dubinko, Michael "Ratt" Iannarelli, Michael A. Nachbaur, Michael A. Puls II, Michael Carter, Michael Daskalov, Michael Day, Michael Dyck, Michael Enright, Michael Gratton, Michael Nordman, Michael Powers, Michael Rakowski, Michael(tm) Smith, Michael Walmsley, Michal Zalewski, Michel Fortin, Michelangelo De Simone, Zoë Bijl, Michiel van der Blonk, Mihai Şucan, Mihai Parparita, Mike Brown, Mike Dierken, Mike Dixon, Mike Hearn, Mike Schinkel, Mike Shaver, Mikko Rantalainen, Mohamed Zergaoui, Mohammad Al Houssami, Momdo Nakamura, Mounir Lamouri, Mount-root-yy, Ms2ger, Nadia Heninger, Nhan, NARUSE Yui, Neil Deakin, Neil Rashbrook, Neil Soiffer, Nicholas Shanks, Nicholas Stimpson, Nicholas Zakas, Nick Levinson, Nickolay Ponomarev, Nicolas Gallagher, Noah Mendelsohn, Noah Slater, Noel Gordon, Nolan Waite, NoozNooz42, Norbert Lindenberg, Ojan Vafai, Olaf Hoffmann, Olav Junker Kjær, Oldřich Vetešník, Oli Studholme, Oliver Hunt, Oliver Rigby, Olivier Gendrin, Olli Pettay, oSand, Pablo Flouret, Patrick Garies, Patrick H. Lauke, Patrik Persson, Paul Adenot, Paul Cotton, Paul Norman, Per-Erik Brodin, Perry Smith, Peter Beverloo, Peter Karlsson, Peter Kasting, Peter Lemieux, Peter Moulder, Peter Occil, Peter Stark, Peter Van der Beken, Peter Winnberg, Peter-Paul Koch, Phil Pickering, Philip Taylor, Philip TAYLOR, Philippe De Ryck, Prateek Rungta, Pravir Gupta, Prayag Verma, 李普君 (Pujun Li), Rabab Gomaa, Rachid Finge, Rachel White, Rafael Weinstein, Rafał Miłecki, Raj Doshi, Rajas Moonka, Ralf Stoltze, Ralph Giles, Raphael Champeimont, Rebeca Ruiz, Remci Mizkur, Remco, Remy Sharp, Rene Saarsoo, Rene Stach, Ric Hardacre, Rich Clark, Rich Doughty, Richa Rupela, Richard Ishida, Richard Schwerdtfeger, Rigo Wenning, Rikkert Koppes, Rimantas Liubertas, Riona Macnamara, Rob Ennals, Rob Jellinghaus, Rob S, Robert Blaut, Robert Collins, Robert Kieffer, Robert Millan, Robert O’Callahan, Robert Sayre, Robin Berjon, Robin Schaufler, Rodger Combs, Rodney Rehm, Roland Steiner, Roma Matusevich, Roman Ivanov, Roy Fielding, Ruud Steltenpool, Ryan King, Ryan Rion, Ryosuke Niwa, S. Mike Dierken, Sailesh Panchang, Salvatore Loreto, Sam Dutton, Sam Kuper, Sam Ruby, Sam Weinig, Samuel Bronson, Samy Kamkar, Sander van Lambalgen, Sarven Capadisli, 佐藤雅之 (SATO Masayuki), Scott González, Scott Hess, Sean Fraser, Sean Hayes, Sean Hogan, Sean Knapp, Sebastian Markbåge, Sebastian Schnitzenbaumer, Sendil Kumar N, Seth Call, Seth Dillingham, Shannon Moeller, Shanti Rao, Shaun Inman, Shiki Okasaka, Shubheksha Jalan, Sierk Bornemann, Sigbjørn Finne, Sigbjørn Vik, Silver Ghost, Silvia Pfeiffer, Šime Vidas, Simo Sutela, Simon Montagu, Simon Spiegel, skeww, Smylers, Srirama Chandra Sekhar Mogali, Stanton McCandlish, Stefan Götz, Stefan Håkansson, Stefan Haustein, Stefan Santesson, Stefan Schumacher, Stefan Weiss, Steffen Meschkat, Stephane Corlosquet, Stephen Cunliffe, Stephen Ma, Stephen White, Steve Comstock, Steve Runyon, Steven Bennett, Steven Garrity, Steven Tate, Steven Wood, Stewart Brodie, Stuart Ballard, Stuart P Bentley, Stuart Langridge, Stuart Parmenter, Subramanian Peruvemba, Sunava Dutta, Susan Borgrink, Susan Lesch, Sylvain Pasche, T. J. Crowder, Tab Atkins-Bittner, Taiju Tsuiki, Takayoshi Kochi, Takeshi Kurosawa, Takeshi Yoshino, Tantek Çelik, 田村健人 (TAMURA Kent), Taylor Hunt, Ted Mielczarek, Terrence Wood, Thijs van der Vossen, Thomas Broyer, Thomas Koetter, Thomas O’Connor, Tim Baxter, Tim Altman, Tim Johansson, TJ VanToll, Toby Inkster, Tobi Reif, Todd Moody, Tom Baker, Tom Pike, Tommy Thorsen, Tony Ross, Tooru Fujisawa, Travis Leithead, Trevor Saunders, triple-underscore, Tyler Close, Unor, Victor Carbune, Vipul Snehadeep Chawathe, Vitya Muhachev, Vladimir Katardjiev, Vladimir Vukićević, voracity, Wakaba, Wayne Carr, Wayne Pollock, Wellington Fernando de Macedo, Wes, Weston Ruter, Wilhelm Joys Andersen, Will Levine, William Chen, William Swanson, Wladimir Palant, Wojciech Mach, Wolfram Kriesing, Xan Gregg, xenotheme, Yang Chen, Ye-Kui Wang, Yehuda Katz, Yi-An Huang, Yngve Nysaeter Pettersen, Yoav Weiss, Yonathan Randolph, Yuzo Fujishima, Zhenbin Xu, Zoltan Herczeg, and Øistein E. Andersen,

for their useful comments, both large and small, that have led to changes to this specification over the years.

Thanks also to everyone who has ever posted about HTML to their blogs, public mailing lists, or forums, including all the contributors to the various W3C HTML and Web Platform WG lists and the various WHATWG lists.

The image of two cute kittens in a basket used in the context menu example is based on a photo by Alex G. (CC BY 2.0)

The Blue Robot Player sprite used in the canvas demo is based on a work by JohnColburn. (CC BY-SA 3.0)

The photograph of robot 148 climbing the tower at the FIRST Robotics Competition 2013 Silicon Valley Regional is based on a work by Lenore Edman. (CC BY 2.0)

The fancy image of the letter O with a child sitting in it reading a book is by Jessie Wilcox Smith and is in the Public Domain.

Parts of this specification are © Copyright 2004-2014 Apple Inc., Mozilla Foundation, and Opera Software ASA. You are granted a license to use, reproduce and create derivative works of this document.

ChangesTable of contents