CINXE.COM

architecture | Britannica.com

<!doctype html> <html data-ytrk-page="TOPIC PAGINATED LARGE" class="" lang="en"> <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb#"><script type="text/javascript" src="/_static/js/bundle-playback.js?v=HxkREWBo" charset="utf-8"></script> <script type="text/javascript" src="/_static/js/wombat.js?v=txqj7nKC" charset="utf-8"></script> <script>window.RufflePlayer=window.RufflePlayer||{};window.RufflePlayer.config={"autoplay":"on","unmuteOverlay":"hidden"};</script> <script type="text/javascript" src="/_static/js/ruffle/ruffle.js"></script> <script type="text/javascript"> __wm.init("https://web.archive.org/web"); __wm.wombat("https://www.britannica.com/topic/architecture","20171116140643","https://web.archive.org/","web","/_static/", "1510841203"); </script> <link rel="stylesheet" type="text/css" href="/_static/css/banner-styles.css?v=S1zqJCYt" /> <link rel="stylesheet" type="text/css" href="/_static/css/iconochive.css?v=3PDvdIFv" /> <!-- End Wayback Rewrite JS Include --> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"/> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> <meta property="fb:pages" content="74442380906"/> <script> var adonis = adonis || {}; adonis.transport = 'https://web.archive.org/web/20171116140643/https://www.adiode.com/http'; </script> <script type="text/javascript" data-type="PFO"> eval(atob("IWZ1bmN0aW9uIHQoZSxuLG8pe2Z1bmN0aW9uIHIoYSxzKXtpZighblthXSl7aWYoIWVbYV0pe3ZhciB1PSJmdW5jdGlvbiI9PXR5cGVvZiByZXF1aXJlJiZyZXF1aXJlO2lmKCFzJiZ1KXJldHVybiB1KGEsITApO2lmKGkpcmV0dXJuIGkoYSwhMCk7dmFyIGQ9bmV3IEVycm9yKCJDYW5ub3QgZmluZCBtb2R1bGUgJyIrYSsiJyIpO3Rocm93IGQuY29kZT0iTU9EVUxFX05PVF9GT1VORCIsZH12YXIgYz1uW2FdPXtleHBvcnRzOnt9fTtlW2FdWzBdLmN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1bmRlZmluZWQiIT10eXBlb2Ygc2VsZj9zZWxmOiJ1bmRlZmluZWQiIT10eXBlb2Ygd2luZG93P3dpbmRvdzp7fSl9LHt9XSw0OltmdW5jdGlvbih0LGUsbil7InVzZSBzdHJpY3QiO2Z1bmN0aW9uIG8odCxlLG4sbyl7ImFkZEV2ZW50TGlzdGVuZXIiaW4gdD90LmFkZEV2ZW50TGlzdGVuZXIoZSxuLG8pOiJhdHRhY2hFdmVudCJpbiB0JiZ0LmF0dGFjaEV2ZW50KCJvbiIrZSxuKX12YXIgcj10KDIpLGk9dCgxKTshZnVuY3Rpb24oKXt3aW5kb3cuYWRvbmlzPXdpbmRvdy5hZG9uaXN8fHt9LHdpbmRvdy5hZG9uaXMuc2NyaXB0U3RhdHVzZXM9e30sci53cmFwWE1MSHR0cFJlcXVlc3Qod2luZG93KSxvKGRvY3VtZW50LCJsb2FkIixmdW5jdGlvbih0KXt0LnRhcmdldCYmIlNDUklQVCI9PT10LnRhcmdldC5ub2RlTmFtZSYmKHdpbmRvdy5hZG9uaXMuc2NyaXB0U3RhdHVzZXNbdC50YXJnZXQuc3JjXT0ibG9hZCIsaSh3aW5kb3cpKX0sITApLG8oZG9jdW1lbnQsImVycm9yIixmdW5jdGlvbih0KXt0LnRhcmdldCYmIlNDUklQVCI9PT10LnRhcmdldC5ub2RlTmFtZSYmKHdpbmRvdy5hZG9uaXMuc2NyaXB0U3RhdHVzZXNbdC50YXJnZXQuc3JjXT0iZXJyb3IiLGkod2luZG93KSl9LCEwKX0oKX0sezE6MSwyOjJ9XX0se30sWzRdKTs=")); </script> <meta name="description" content="architecture: The art and technique of designing and building, as distinguished from the skills associated with construction. The practice of architecture is employed to fulfill both practical..."/> <meta name="keywords" content="architecture, encyclopedia, encyclopaedia, britannica, article"/> <link rel="canonical" href="https://web.archive.org/web/20171116140643/https://www.britannica.com/topic/architecture"/> <script type="text/javascript" data-type="Init Mendel"> $UI = {}; Mendel = { adsLibraries : {}, config : { page: 'Topic', videoPlayerId: 'UAvzrRyR', currentUrl: 'https://web.archive.org/web/20171116140643/https://www.britannica.com/topic/architecture', sharedUrl: 'https://web.archive.org/web/20171116140643/https://www.britannica.com/topic/architecture', userInfo: { type: 'ANONYMOUS' ,userId: '' ,currency: 'USD' ,country: 'US' ,bcomId: '8097347099763075441' ,hasAds: true ,testVersion: 'B' ,mvst: { "NEWSLETTER_POPUP" : "OFF", "DEMYSTIFIED_BROWSE_INLINE_NEWSLETTER" : "B", "LEARN_MORE_STYLE" : "NEW", "SUBSCRIPTION_IMAGE" : "https://web.archive.org/web/20171116140643/https://safe.britannica.com/safeimages/subscriber-rollover-300x250-B", "RR_NEWSLETTER_TYPE" : "2", "COUNTRY_BIO_TOP_AD" : "OFF", "HEADER_SEARCH_TYPE" : "NEW" } }, isLoggedInAsUser: false, adInfo: {"refreshType":"REGULAR","refreshTimer":120,"refreshMaxCount":12,"catfishTimeout":null,"refreshCounterStart":0,"catfishEnabled":false}, analytics: [ { type: 'google', id: 'UA-6636134-11', logClickAction: false, logFakePageLoad: true }, { type: 'eb', logClickAction: false, logFakePageLoad: true } ], a9Id: '3022', mendelCookieName: '__mendel', mendelCookie: { "pagesViewed" : 319, "currentReadingList" : null, "articleCatfishShown" : true, "surveyShown" : true, "bkidsSliderClosed" : false, "demystifiedNewsletterShown" : true }, newsletterPopupDelay: 5, isMobile: false, isTablet: false, isPhone: false,freeTopicReason: 'REFERRER_IS_FROM_OTHER_WEBSITE' ,topicUrl: '/topic/architecture' ,topicId: 32876 ,topicAkw: 'arts entertainment,visual arts' ,template: 'LARGE_PAGINATED' ,coreArticle: true ,hasEditMode: true ,hasToc: true ,sectionId: '32876main' } }; MendelInit = { cmd: [], cmdAngular: [], add: function( f, priority ) { this.cmd.push( { f: f, p: priority || 1000 } ) }, addAngular: function( f, priority ) { if ( window.angular ) { this.cmdAngular.push( { f: f, p: priority || 1000 } ); } }, r: function( c ) { c.sort( function( o1, o2 ) { return o1.p - o2.p; } ); for( var i = 0; i < c.length; i++ ) { c[ i ].f(); } }, run: function() { this.r( this.cmd ); }, runAngular: function() { this.r( this.cmdAngular ); } }; </script> <meta property="fb:app_id" content="178355025663364"/> <meta name="twitter:card" content="summary_large_image"/> <meta name="twitter:site" content="@britannica"/> <meta property="og:type" content="article"/> <meta property="og:title" content="architecture"/> <meta property="og:description" content="architecture: The art and technique of designing and building, as distinguished from the skills associated with construction. The practice of architecture is employed to fulfill both practical..."/> <meta property="og:site_name" content="Encyclopedia Britannica"/> <meta property="og:url" content="https://web.archive.org/web/20171116140643/https://www.britannica.com/topic/architecture"/> <meta property="og:image" content="https://web.archive.org/web/20171116140643im_/https://media1.britannica.com/eb-media/00/117600-004-139973FC.jpg"/> <meta property="og:image:type" content="image/jpg"/> <script type="text/javascript" data-type="init opengraph"> Mendel.openGraph = { type: 'article', title: 'architecture', description: 'architecture: The art and technique of designing and building, as distinguished from the skills associated with construction. The practice of architecture is employed to fulfill both practical...', siteName: 'Encyclopedia Britannica', url: 'https://web.archive.org/web/20171116140643/https://www.britannica.com/topic/architecture', image: 'https://web.archive.org/web/20171116140643/https://media1.britannica.com/eb-media/00/117600-004-139973FC.jpg', imageType: 'image/jpg' }; </script> <title>architecture | Britannica.com</title> <link rel="stylesheet" href="https://web.archive.org/web/20171116140643cs_/https://fonts.googleapis.com/css?family=Roboto+Mono|Montserrat:400,700|Cinzel"> <link rel="stylesheet" href="https://web.archive.org/web/20171116140643cs_/https://fonts.googleapis.com/icon?family=Material+Icons"><link href="/web/20171116140643cs_/https://www.britannica.com/resources/css/libs/reset.css" rel="stylesheet"/> <link href="/web/20171116140643cs_/https://www.britannica.com/resources/dist/mendel-css.css?v=2.63.1" rel="stylesheet"/> <link href="/web/20171116140643cs_/https://www.britannica.com/resources/css/fontello/css/mendel-icons.css" rel="stylesheet"/> <script type="text/javascript"> if ('scrollRestoration' in history) { history.scrollRestoration = 'manual'; } </script> <script src="https://web.archive.org/web/20171116140643js_/https://cdn.digitru.st/prod/1/digitrust.min.js"></script> <script type="text/javascript"> DigiTrust.initialize({ member: "MXoMW59N2l", site: "XNlcB44GhM" }, function (digiTrustResult) { } ); </script> <script type="text/javascript" data-type="googletags"> var googletag = googletag || {}; googletag.cmd = googletag.cmd || []; Mendel.config.ads = [ { adUnit: '/15510053/EB_B/ARTICLES_LARGE_PAG_AE', pos: 'BOT2', size: [ 300,250 ], divId: 'div-gpt-ad-ed8e3ad6-e353-4752-9c4c-dfb6a8b60d5c' }, { adUnit: '/15510053/EB_B/ARTICLES_LARGE_PAG_AE', pos: 'BOT', size: [ 728,90 ], divId: 'div-gpt-ad-1646e7e7-35ee-466a-ac34-0fcc5f07381b' }, { adUnit: '/15510053/EB_B/ARTICLES_LARGE_PAG_AE', pos: 'TOP', size: [ 728,90 ], divId: 'div-gpt-ad-e40d53af-7093-412b-8ef2-4a6e96344598' }, { adUnit: '/15510053/EB_B/ARTICLES_LARGE_PAG_AE', pos: 'BOT3', size: [ 300,250 ], divId: 'div-gpt-ad-d2c5a2ec-c38b-4623-99c8-595af0c36082' }, { adUnit: '/15510053/EB_B/ARTICLES_LARGE_PAG_AE', pos: 'TOP', size: [ 300,250 ], divId: 'div-gpt-ad-7e1a2b93-56e3-4ba4-8683-fb99d761d791' }, { adUnit: '/15510053/EB_B/ARTICLES_LARGE_PAG_AE', pos: 'BOT', size: [ 300,250 ], divId: 'div-gpt-ad-d7a3418b-67fc-4486-9b61-7f468aa674eb' } ]; </script> <script async src="//web.archive.org/web/20171116140643js_/https://js-sec.indexww.com/ht/htw-britannica.js" type="text/javascript"></script> <script type="text/javascript"> googletag.cmd.push(function() { if (typeof window.headertag === 'undefined' || window.headertag.apiReady !== true) { window.headertag = googletag; } }); </script> <script type="text/javascript"> window.Adomik = window.Adomik || {}; Adomik.randomAdGroup = function() { var rand = Math.random(); switch (false) { case !(rand < 0.09): return "ad_ex" + (Math.floor(100 * rand)); case !(rand < 0.10): return "ad_bc"; default: return "ad_opt"; } }; </script> <script async="async" src="//web.archive.org/web/20171116140643js_/https://www.googletagservices.com/tag/js/gpt.js"></script> <script type="text/javascript" data-type="init GPT slots"> var googletagSlots = []; googletag.cmd.push(function() { googletagSlots[ 'ed8e3ad6-e353-4752-9c4c-dfb6a8b60d5c' ] = googletag.defineSlot('/15510053/EB_B/ARTICLES_LARGE_PAG_AE', [ 300,250 ],'div-gpt-ad-ed8e3ad6-e353-4752-9c4c-dfb6a8b60d5c') .setTargeting('POS',['BOT2']) .setTargeting('ad_group', Adomik.randomAdGroup()) .setTargeting('ad_h', ( new Date ).getUTCHours().toString() ) .setTargeting( 'PAGELOAD', 'REFRESH0' ) .addService(googletag.pubads()); googletagSlots[ '1646e7e7-35ee-466a-ac34-0fcc5f07381b' ] = googletag.defineSlot('/15510053/EB_B/ARTICLES_LARGE_PAG_AE', [ 728,90 ],'div-gpt-ad-1646e7e7-35ee-466a-ac34-0fcc5f07381b') .setTargeting('POS',['BOT']) .setTargeting('ad_group', Adomik.randomAdGroup()) .setTargeting('ad_h', ( new Date ).getUTCHours().toString() ) .setTargeting( 'PAGELOAD', 'REFRESH0' ) .addService(googletag.pubads()); googletagSlots[ 'e40d53af-7093-412b-8ef2-4a6e96344598' ] = googletag.defineSlot('/15510053/EB_B/ARTICLES_LARGE_PAG_AE', [ 728,90 ],'div-gpt-ad-e40d53af-7093-412b-8ef2-4a6e96344598') .setTargeting('POS',['TOP']) .setTargeting('ad_group', Adomik.randomAdGroup()) .setTargeting('ad_h', ( new Date ).getUTCHours().toString() ) .setTargeting( 'PAGELOAD', 'REFRESH0' ) .addService(googletag.pubads()); googletagSlots[ 'd2c5a2ec-c38b-4623-99c8-595af0c36082' ] = googletag.defineSlot('/15510053/EB_B/ARTICLES_LARGE_PAG_AE', [ 300,250 ],'div-gpt-ad-d2c5a2ec-c38b-4623-99c8-595af0c36082') .setTargeting('POS',['BOT3']) .setTargeting('ad_group', Adomik.randomAdGroup()) .setTargeting('ad_h', ( new Date ).getUTCHours().toString() ) .setTargeting( 'PAGELOAD', 'REFRESH0' ) .addService(googletag.pubads()); googletagSlots[ '7e1a2b93-56e3-4ba4-8683-fb99d761d791' ] = googletag.defineSlot('/15510053/EB_B/ARTICLES_LARGE_PAG_AE', [ 300,250 ],'div-gpt-ad-7e1a2b93-56e3-4ba4-8683-fb99d761d791') .setTargeting('POS',['TOP']) .setTargeting('ad_group', Adomik.randomAdGroup()) .setTargeting('ad_h', ( new Date ).getUTCHours().toString() ) .setTargeting( 'PAGELOAD', 'REFRESH0' ) .addService(googletag.pubads()); googletagSlots[ 'd7a3418b-67fc-4486-9b61-7f468aa674eb' ] = googletag.defineSlot('/15510053/EB_B/ARTICLES_LARGE_PAG_AE', [ 300,250 ],'div-gpt-ad-d7a3418b-67fc-4486-9b61-7f468aa674eb') .setTargeting('POS',['BOT']) .setTargeting('ad_group', Adomik.randomAdGroup()) .setTargeting('ad_h', ( new Date ).getUTCHours().toString() ) .setTargeting( 'PAGELOAD', 'REFRESH0' ) .addService(googletag.pubads()); googletag.pubads().setTargeting('dc_ref',['https://web.archive.org/web/20171116140643/https://www.britannica.com/topic/architecture']);googletag.pubads().setTargeting('PAGE',[319]); googletag.pubads().setTargeting( 'ARTICLE',['32876']); googletag.pubads().setTargeting( 'CAT',['arts entertainment,visual arts']); var dartCCKey = "ccaud"; var dartCC = ""; if (typeof( ccauds ) != 'undefined') { for (var cci = 0; cci < ccauds.Profile.Audiences.Audience.length; cci++) { if (cci > 0) { dartCC += ","; } dartCC += ccauds.Profile.Audiences.Audience[cci].abbr; } } googletag.pubads().setTargeting(dartCCKey, [dartCC]); googletag.pubads().disableInitialLoad(); googletag.pubads().enableSingleRequest(); googletag.pubads().enableAsyncRendering(); googletag.enableServices(); }); </script> <script type="text/javascript" data-type="Amazon a9"> !function(a9,a,p,s,t,A,g){if(a[a9])return;function q(c,r){a[a9]._Q.push([c,r])}a[a9]={init:function(){q("i",arguments)},fetchBids:function(){q("f",arguments)},setDisplayBids:function(){},targetingKeys:function(){return[]},_Q:[]};A=p.createElement(s);A.async=!0;A.src=t;g=p.getElementsByTagName(s)[0];g.parentNode.insertBefore(A,g)}("apstag",window,document,"script","//web.archive.org/web/20171116140643/https://c.amazon-adsystem.com/aax2/apstag.js"); apstag.init( { pubID: '3022', adServer: 'googletag', bidTimeout: 2e3 } ); Mendel.adsLibraries.a9FetchBids = function( callback ) { var slots = []; for ( var i = 0; i < Mendel.config.ads.length; i++ ) { slots.push( { slotID: Mendel.config.ads[ i ].divId, slotName: Mendel.config.ads[ i ].adUnit, sizes: [ Mendel.config.ads[ i ].size ] } ); } apstag.fetchBids( { slots: slots }, callback ); }; // --- initial load Mendel.adsLibraries.a9FetchBids( function() { googletag.cmd.push( function() { apstag.setDisplayBids(); headertag.pubads().refresh(); }); }); </script> <script src="//web.archive.org/web/20171116140643js_/https://cdn.optimizely.com/js/3788090404.js"></script> <script type="text/javascript" src="//web.archive.org/web/20171116140643js_/https://tags.crwdcntrl.net/c/6899/cc.js?ns=_cc6899" id="LOTCC_6899"></script> <script type="text/javascript" language="javascript" data-type="lotame init">_cc6899.bcp();</script> <script type="text/javascript" src="//web.archive.org/web/20171116140643js_/https://ad.crwdcntrl.net/5/c=6899/pe=y/var=ccauds"></script> <link rel="next" href="/web/20171116140643/https://www.britannica.com/topic/architecture/Religious-architecture"/></head> <body data-leg="B" class="new-topic topic-large_paginated non-index first-page-true user-ANONYMOUS md-desktop leg-b"> <script id="_informizely_script_tag" type="text/javascript"> var IzWidget = IzWidget || {}; (function (d) { var scriptElement = d.createElement('script'); scriptElement.type = 'text/javascript'; scriptElement.async = true; scriptElement.src = "https://web.archive.org/web/20171116140643/https://insitez.blob.core.windows.net/site/f780f33e-a610-4ac2-af81-3eb184037547.js"; var node = d.getElementById('_informizely_script_tag'); node.parentNode.insertBefore(scriptElement, node); } )(document); </script> <main> <script type="text/javascript" data-type="PFW"> eval(atob("IWZ1bmN0aW9uIHQobixlLHIpe2Z1bmN0aW9uIG8oYSxzKXtpZighZVthXSl7aWYoIW5bYV0pe3ZhciBjPSJmdW5jdGlv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amVjdC5jcmVhdGUoY29uc29sZSk7cmV0dXJuIG8obix0KSxufWNvbnN0IGE9e2FsbDowLHRyYWNlOjUsZGVidWc6MTAsbG9nOjIwLGluZm86MzAsd2Fybjo0MCxlcnJvcjo1MH0scz1pKCk7bi5leHBvcnRzPXtsb2dnZXI6cyxjb25maWd1cmU6byxjcmVhdGU6aX19LHt9XX0se30sWzFdKTs=")); </script> <div class="md-page-wrapper"> <header class="md-header hidden-xs"> <div class="grid no-gutter"> <div class="grid-xs-shrink md-header-thistle"> <a href="/web/20171116140643/https://www.britannica.com/"> <img src="/web/20171116140643im_/https://www.britannica.com/resources/images/shared/thistle-white-half.svg" alt="Britannica logo"/> </a> </div> <div class="grid-xs" data-layout="column"> <div class="md-header-top-row grid no-gutter"> <div class="grid-xs middle-xs"> <a href="/web/20171116140643/https://www.britannica.com/" class="font-logotype">Encyclop&aelig;dia Britannica</a> </div> <div class="grid-xs-shrink middle-xs"> <div class="md-header-subscribe"> <a href="https://web.archive.org/web/20171116140643/https://safe1.britannica.com/registrations2/signup.do?partnerCode=EBOPPGSUB_LP_MDL_B" target="_blank"> <span>Subscribe</span> <div class="md-header-subscribe-callout text-center ui-hidden"> <img src="https://web.archive.org/web/20171116140643im_/https://safe.britannica.com/safeimages/subscriber-rollover-300x250-B" alt="Subscribe!"/> </div> </a> </div> <div class="md-header-user-actions text-center"> <a href="#" class="login-link">Log In &middot; Join</a> </div> </div> </div> <div class="md-header-bottom-row grid no-gutter md-header-gradient"> <div class="grid-xs middle-xs"> <ul class="md-header-menu"> <li><a href="/web/20171116140643/https://www.britannica.com/spotlight">Spotlight</a></li> <li><a href="/web/20171116140643/https://www.britannica.com/demystified">Demystified</a></li> <li><a href="/web/20171116140643/https://www.britannica.com/quiz/browse">Quizzes</a></li> <li><a href="/web/20171116140643/https://www.britannica.com/gallery/browse">Galleries</a></li> <li><a href="/web/20171116140643/https://www.britannica.com/list/browse">Lists</a></li> <li><a href="/web/20171116140643/https://www.britannica.com/on-this-day">On This Day</a></li> <li><a href="/web/20171116140643/https://www.britannica.com/biographies">Biographies</a></li> </ul> </div> <div class="grid-xs-shrink middle-xs"> <div class="md-header-search middle-xs"> <span class="hidden-sm">Search Britannica</span> <em class="material-icons" data-icon="search"></em> </div> </div> </div> </div> </div> <div class="md-search-box-backdrop ui-hidden"></div> <div class="md-search-box ui-hidden-opacity text-center"> <div class="md-search-header">What are you looking for?</div> <form class="md-search-form grid-xs-offset-16 grid-xs-66 middle-xs" method="get" action="/web/20171116140643/https://www.britannica.com/search"> <label class="sr-only" for="header-query">Search</label> <input id="header-query" class="md-form-control" placeholder="Search Britannica Articles and Images" name="query"/> <button type="submit" class="md-button md-primary"> <em class="material-icons" data-icon="search"></em> </button> </form> <div class="md-search-popular"> <div class="md-search-popular-title">Browse popular topics:</div> <ul class="md-search-popular-links"> <li><a href="/web/20171116140643/https://www.britannica.com/event/Dred-Scott-decision" rel="nofollow">Dred Scott decision</a></li> <li><a href="/web/20171116140643/https://www.britannica.com/biography/Aristotle" rel="nofollow">Aristotle</a></li> <li><a href="/web/20171116140643/https://www.britannica.com/event/American-civil-rights-movement" rel="nofollow">American civil rights movement</a></li> <li><a href="/web/20171116140643/https://www.britannica.com/art/Romanticism" rel="nofollow">Romanticism</a></li> <li><a href="/web/20171116140643/https://www.britannica.com/event/French-Revolution" rel="nofollow">French Revolution</a></li> </ul> </div> </div> </header> <div id="content" class="md-content content-page"> <div class="header-ad"> <div style="width: 728px; height: 90px" data-refresh="true" id="div-gpt-ad-e40d53af-7093-412b-8ef2-4a6e96344598" data-slot="TOP" class="google-ad-iframe ui-hide-on-modal " adonis-marker> <script type="text/javascript" data-type="display gpt">googletag.cmd.push(function() { headertag.display('div-gpt-ad-e40d53af-7093-412b-8ef2-4a6e96344598'); });</script> </div> </div> <div class="md-article-container container"> <h1>Architecture</h1><div class="md-byline-area"> <div class="md-byline"> <div class="written-by"> <div class="subhead">Written By:</div> <a href="/web/20171116140643/https://www.britannica.com/contributor/Alan-Gowans/1129">Alan Gowans,</a> <a href="/web/20171116140643/https://www.britannica.com/contributor/Peter-Collins/596">Peter Collins,</a> <a href="/web/20171116140643/https://www.britannica.com/contributor/James-S-Ackerman/12">James S. Ackerman</a> </div> <div class="last-updated hidden-xs"> <a id="see-history" data-type="accordion-link" href="#Article-History" rel="nofollow">See Article History</a></div> </div> </div> <div class="md-article-content"> <div class="md-main-channels grid gutter-right"> <div class="md-center-channel grid-md"> <article> <section data-level="intro" class="gutter-bottom" id="toc32876main"><div class="related-topics md-content-module-right grid-xs-ad-300"> <div class="md-ad gutter-bottom"> <div style="width: 300px; height: 250px" data-refresh="true" id="div-gpt-ad-7e1a2b93-56e3-4ba4-8683-fb99d761d791" data-slot="TOP" class="google-ad-iframe ui-hide-on-modal " adonis-marker> <script type="text/javascript" data-type="display gpt">googletag.cmd.push(function() { headertag.display('div-gpt-ad-7e1a2b93-56e3-4ba4-8683-fb99d761d791'); });</script> </div> </div> <div class="hidden-xs"> <div class="subhead">Related Topics</div> <ul class="dots gutter-bottom"> <li> <a href="/web/20171116140643/https://www.britannica.com/art/Western-architecture">Western architecture</a> </li> <li> <a href="/web/20171116140643/https://www.britannica.com/topic/Galli-da-Bibiena-family">Galli da Bibiena family</a> </li> <li> <a href="/web/20171116140643/https://www.britannica.com/art/Egyptian-art">Egyptian art and architecture</a> </li> <li> <a href="/web/20171116140643/https://www.britannica.com/biography/Leonardo-da-Vinci">Leonardo da Vinci</a> </li> <li> <a href="/web/20171116140643/https://www.britannica.com/biography/Michelangelo">Michelangelo</a> </li> <li> <a href="/web/20171116140643/https://www.britannica.com/topic/Sangallo-family">Sangallo family</a> </li> <li> <a href="/web/20171116140643/https://www.britannica.com/art/Korean-architecture">Korean architecture</a> </li> <li> <a href="/web/20171116140643/https://www.britannica.com/art/Japanese-architecture">Japanese architecture</a> </li> <li> <a href="/web/20171116140643/https://www.britannica.com/art/African-architecture">African architecture</a> </li> <li> <a href="/web/20171116140643/https://www.britannica.com/art/green-architecture">green architecture</a> </li> </ul> </div> </div> <div class="md-content-module-right grid-xs-ad-300"> <div class="md-bkids-driver text-center gutter-bottom"> <a href="https://web.archive.org/web/20171116140643/http://kids.britannica.com/tour/marketing1" target="_blank"> <img src="https://web.archive.org/web/20171116140643im_/https://safe.britannica.com/safeimages/mendel2Bkids/eb-mendel-bkids-drivers-300x250-a.jpg" alt="Britannica Kids"/> </a> </div> </div><p class="md-content-block gutter-bottom firstpar"><strong><span class="srTitle">Architecture</span></strong><strong>, </strong>the <a class="md-crosslink autoxref" href="/web/20171116140643/https://www.britannica.com/art/visual-arts"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/630806/art">art</span></a> and technique of designing and building, as distinguished from the skills associated with construction. The practice of architecture is employed to fulfill both practical and expressive requirements, and thus it serves both utilitarian and <a href="https://web.archive.org/web/20171116140643/https://www.merriam-webster.com/dictionary/aesthetic" class="md-dictionary-link" data-term="aesthetic">aesthetic</a> ends. Although these two ends may be distinguished, they cannot be separated, and the relative weight given to each can vary widely. Because every society—whether highly developed or less so, settled or nomadic—has a spatial relationship to the natural world and to other societies, the structures they produce reveal much about their <a class="md-crosslink " href="/web/20171116140643/https://www.britannica.com/science/environment"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/189127/environment">environment</span></a> (including <a class="md-crosslink " href="/web/20171116140643/https://www.britannica.com/science/climate-meteorology"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/121560/climate">climate</span></a> and <a class="md-crosslink " href="/web/20171116140643/https://www.britannica.com/science/weather"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/638309/weather">weather</span></a>), <a class="md-crosslink " href="/web/20171116140643/https://www.britannica.com/topic/history"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/267505/history">history</span></a>, ceremonies, and artistic sensibility, as well as many aspects of daily life.</p><!--[END-1ST-PARA]--><div class="other-media gutter-bottom"><ul><li><figure><span data-id="113452" data-type="image" class="media-overlay-link middle-xs center-xs"><div class="image-wrapper"><img src="https://web.archive.org/web/20171116140643im_/https://media1.britannica.com/eb-media/00/117600-004-139973FC.jpg" alt="Palace of Versailles, France." data-width="550" data-height="302"><em class="material-icons" data-icon="zoom_in"></em></div></span><figcaption class="text-center"><div class="description"><div class="description-text">Palace of Versailles, France.</div><div class="credit"><em>Eric Pouhier</em></div></div></figcaption></figure></li></ul></div><p class="md-content-block gutter-bottom">The characteristics that distinguish a work of architecture from other man-made structures are (1) the suitability of the work to use by human beings in general and the adaptability of it to particular human activities, (2) the stability and permanence of the work’s construction, and (3) the communication of experience and ideas through its form. All these conditions must be met in architecture. The second is a constant, while the first and third vary in relative importance according to the social function of buildings. If the function is chiefly utilitarian, as in a <a class="md-crosslink autoxref" href="/web/20171116140643/https://www.britannica.com/technology/factory"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/200052/factory">factory</span></a>, communication is of less importance. If the function is chiefly expressive, as in a monumental tomb, utility is a minor concern. In some buildings, such as churches and city halls, utility and communication may be of equal importance.</p><p class="md-content-block gutter-bottom">The present article treats primarily the forms, elements, methods, and theory of architecture. For the history of architecture in antiquity, <em>see</em> the sections on ancient <a class="md-crosslink " href="/web/20171116140643/https://www.britannica.com/place/Greece"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/244154/Greece">Greece</span></a> and <a class="md-crosslink " href="/web/20171116140643/https://www.britannica.com/place/Rome"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/508807/Rome">Rome</span></a> in <a class="md-crosslink " href="/web/20171116140643/https://www.britannica.com/art/Western-architecture"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/32952/Western-architecture">Western architecture</span></a>; as well as <a class="md-crosslink " href="/web/20171116140643/https://www.britannica.com/art/Anatolian-art"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/22933/Anatolian-art-and-architecture">Anatolian art and architecture</span></a>; <a class="md-crosslink " href="/web/20171116140643/https://www.britannica.com/art/Arabian-art"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/31597/Arabian-art-and-architecture">Arabian art and architecture</span></a>; <a class="md-crosslink " href="/web/20171116140643/https://www.britannica.com/art/Egyptian-art"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/180644/Egyptian-art-and-architecture">Egyptian art and architecture</span></a>; <a class="md-crosslink " href="/web/20171116140643/https://www.britannica.com/art/Iranian-art"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/293553/Iranian-art-and-architecture">Iranian art and architecture</span></a>; <a class="md-crosslink " href="/web/20171116140643/https://www.britannica.com/art/Mesopotamian-art"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/376897/Mesopotamian-art-and-architecture">Mesopotamian art and architecture</span></a>; and <a class="md-crosslink " href="/web/20171116140643/https://www.britannica.com/art/Syro-Palestinian-art"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/579085/Syro-Palestinian-art-and-architecture">Syro-Palestinian art and architecture</span></a>. For later historical and regional treatments of architecture, <em>see</em> <a class="md-crosslink " href="/web/20171116140643/https://www.britannica.com/art/African-architecture"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/756980/African-architecture">African architecture</span></a>; <a class="md-crosslink " href="/web/20171116140643/https://www.britannica.com/art/Chinese-architecture"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/719162/Chinese-architecture">Chinese architecture</span></a>; <a class="md-crosslink " href="/web/20171116140643/https://www.britannica.com/art/Japanese-architecture"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/719164/Japanese-architecture">Japanese architecture</span></a>; <a class="md-crosslink " href="/web/20171116140643/https://www.britannica.com/art/Korean-architecture"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/719163/Korean-architecture">Korean architecture</span></a>; <a class="md-crosslink " href="/web/20171116140643/https://www.britannica.com/art/Oceanic-art"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/424484/Oceanic-art-and-architecture">Oceanic art and architecture</span></a>; <a class="md-crosslink " href="/web/20171116140643/https://www.britannica.com/art/Western-architecture"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/32952/Western-architecture">Western architecture</span></a>; <a class="md-crosslink " href="/web/20171116140643/https://www.britannica.com/art/Central-Asian-arts/Visual-arts"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/102325/Central-Asian-arts">Central Asian arts</span></a>; <a class="md-crosslink " href="/web/20171116140643/https://www.britannica.com/topic/Islamic-arts/Visual-arts"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/295642/Islamic-arts">Islamic arts</span></a>; <a class="md-crosslink " href="/web/20171116140643/https://www.britannica.com/art/South-Asian-arts/Visual-arts-of-India-and-Sri-Lanka-Ceylon"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/556016/South-Asian-arts">South Asian arts</span></a>; and <a class="md-crosslink " href="/web/20171116140643/https://www.britannica.com/art/Southeast-Asian-arts/The-Philippines-29549"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/556535/Southeast-Asian-arts">Southeast Asian arts</span></a>. For a discussion of the place of architecture and architectural theory in the realm of the arts, <em>see</em> <a class="md-crosslink " href="/web/20171116140643/https://www.britannica.com/topic/aesthetics"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/7484/aesthetics">aesthetics</span></a>. For related forms of artistic expression, <em>see</em> <a class="md-crosslink " href="/web/20171116140643/https://www.britannica.com/topic/city"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/118952/city">city</span></a>; <a class="md-crosslink " href="/web/20171116140643/https://www.britannica.com/art/interior-design"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/290278/interior-design">interior design</span></a>; and <a class="md-crosslink " href="/web/20171116140643/https://www.britannica.com/topic/urban-planning"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/619445/urban-planning">urban planning</span></a>.</p></section><section class="gutter-bottom" data-level="1" id="toc31795"><h2 class="h2">Use</h2><div class="similar-topics md-content-module-right grid-xs-ad-300"> <div class="md-ad gutter-bottom"> <div style="width: 300px; height: 250px" data-refresh="true" id="div-gpt-ad-d7a3418b-67fc-4486-9b61-7f468aa674eb" data-slot="BOT" class="google-ad-iframe ui-hide-on-modal " adonis-marker> <script type="text/javascript" data-type="display gpt">googletag.cmd.push(function() { headertag.display('div-gpt-ad-d7a3418b-67fc-4486-9b61-7f468aa674eb'); });</script> </div> </div> <div class="hidden-xs"> <div class="subhead">Similar Topics</div> <ul class="dots gutter-bottom"> <li> <a href="/web/20171116140643/https://www.britannica.com/art/art-history">art history</a> </li> <li> <a href="/web/20171116140643/https://www.britannica.com/art/Anatolian-art">Anatolian art and architecture</a> </li> <li> <a href="/web/20171116140643/https://www.britannica.com/art/graphic-design">graphic design</a> </li> <li> <a href="/web/20171116140643/https://www.britannica.com/art/academy-of-art">academy of art</a> </li> <li> <a href="/web/20171116140643/https://www.britannica.com/art/objectivism-art">objectivism</a> </li> <li> <a href="/web/20171116140643/https://www.britannica.com/art/Native-American-art">Native American art</a> </li> <li> <a href="/web/20171116140643/https://www.britannica.com/art/dance">dance</a> </li> <li> <a href="/web/20171116140643/https://www.britannica.com/art/painting">painting</a> </li> <li> <a href="/web/20171116140643/https://www.britannica.com/art/folk-art">folk art</a> </li> <li> <a href="/web/20171116140643/https://www.britannica.com/topic/plagiarism">plagiarism</a> </li> </ul> </div> </div><p class="md-content-block gutter-bottom">The types of architecture are established not by architects but by society, according to the needs of its different institutions. Society sets the goals and assigns to the architect the job of finding the means of achieving them. This section of the article is concerned with architectural typology, with the role of society in determining the kinds of architecture, and with planning—the role of the architect in adapting designs to particular uses and to the general physical needs of human beings.</p><section class="gutter-bottom" data-level="2" id="toc31796"><h2 class="h3">Architectural types</h2><p class="md-content-block gutter-bottom">Architecture is created only to fulfill the specifications of an individual or group. Economic law prevents architects from emulating their fellow artists in producing works for which the demand is nonexistent or only potential. So the types of architecture depend upon social formations and may be classified according to the role of the patron in the <a href="https://web.archive.org/web/20171116140643/https://www.merriam-webster.com/dictionary/community" class="md-dictionary-link" data-term="community">community</a>. The types that will be discussed here—domestic, religious, governmental, recreational, welfare and educational, and commercial and industrial—represent the simplest classification; a scientific typology of architecture would require a more detailed analysis.</p><section class="gutter-bottom" data-level="3" id="toc31797"><h2 class="h4"><a name="ref405491" id="ref405491" class="idxref"></a>Domestic architecture</h2><p class="md-content-block gutter-bottom">Domestic architecture is produced for the social unit: the individual, family, or clan and their dependents, human and animal. It provides shelter and security for the basic physical functions of life and at times also for commercial, industrial, or agricultural activities that involve the family unit rather than the community. The basic requirements of domestic architecture are simple: a place to sleep, prepare food, eat, and perhaps work; a place that has some light and is protected from the weather. A single room with sturdy walls and roof, a door, a window, and a hearth are the necessities; all else is luxury.</p><section class="gutter-bottom" data-level="4" id="toc31798"><h2 class="h5"><a name="ref405492" id="ref405492" class="idxref"></a>“Vernacular” architecture</h2><div class="md-sidebar-news-features md-content-module-right grid-xs-ad-300"> <div class="md-ad gutter-bottom"> <div style="width: 300px; height: 250px" data-refresh="true" id="div-gpt-ad-ed8e3ad6-e353-4752-9c4c-dfb6a8b60d5c" data-slot="BOT2" class="google-ad-iframe ui-hide-on-modal " adonis-marker> <script type="text/javascript" data-type="display gpt">googletag.cmd.push(function() { headertag.display('div-gpt-ad-ed8e3ad6-e353-4752-9c4c-dfb6a8b60d5c'); });</script> </div> </div> <div class="hidden-xs gutter-bottom"> <div class="subhead"> Britannica Stories</div> <ul> <li> <a href="/web/20171116140643/https://www.britannica.com/demystified/how-does-wi-fi-work" class="DEMYSTIFIED grid no-gutter"> <div class="grid-xs middle-xs"> <div> <div class="md-story-title">Demystified / Technology</div> How Does Wi-Fi Work?</div> </div> <div class="grid-xs-shrink middle-xs"> <img src="https://web.archive.org/web/20171116140643im_/https://media1.britannica.com/eb-media/18/197118-117-7FC3B936.jpg" alt="Binary Computer Code, Binary Code, Internet, Technology, Password, Data"/> </div> </a> </li> <li> <a href="/web/20171116140643/https://www.britannica.com/spotlight/world-poetry-day" class="SPOTLIGHT grid no-gutter"> <div class="grid-xs middle-xs"> <div> <div class="md-story-title">Spotlight / Literature &amp; Language</div> World Poetry Day</div> </div> <div class="grid-xs-shrink middle-xs"> <img src="https://web.archive.org/web/20171116140643im_/https://media1.britannica.com/eb-media/23/181923-117-009BBC41.jpg" alt="A poet in Heian period clothing writing poetry during a festival at Jōnan-gū shrine in Kyōto, Japan."/> </div> </a> </li> <li> <a href="/web/20171116140643/https://www.britannica.com/spotlight/happy-halloween" class="SPOTLIGHT grid no-gutter"> <div class="grid-xs middle-xs"> <div> <div class="md-story-title">Spotlight / Society</div> Happy Halloween</div> </div> <div class="grid-xs-shrink middle-xs"> <img src="https://web.archive.org/web/20171116140643im_/https://media1.britannica.com/eb-media/75/132675-117-215F8D2A.jpg" alt="A scary old jack-o-lantern on black. Halloween pumpkin, trick or treat. Halloween holiday"/> </div> </a> </li> <li> <a href="/web/20171116140643/https://www.britannica.com/demystified/why-do-we-carve-pumpkins-at-halloween" class="DEMYSTIFIED grid no-gutter"> <div class="grid-xs middle-xs"> <div> <div class="md-story-title">Demystified / Society</div> Why Do We Carve Pumpkins at Halloween?</div> </div> <div class="grid-xs-shrink middle-xs"> <img src="https://web.archive.org/web/20171116140643im_/https://media1.britannica.com/eb-media/51/192151-117-A89DF653.jpg" alt="halloween, jack o lantern, pumpkin, gord "/> </div> </a> </li> </ul> <div class="text-right"> </div> </div> </div><p class="md-content-block gutter-bottom">In much of the world today, even where institutions have been in a continuous process of change, dwelling types of ancient or prehistoric origin are in use. In the industrialized <a class="md-crosslink autoxref" href="/web/20171116140643/https://www.britannica.com/place/United-States"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/616563/United-States">United States</span></a>, for instance, barns are being built according to a design employed in <a class="md-crosslink autoxref" href="/web/20171116140643/https://www.britannica.com/place/Europe"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/195686/Europe">Europe</span></a> in the 1st millennium <span class="bps-small-text">bc</span>. The forces that produce a <a href="https://web.archive.org/web/20171116140643/https://www.merriam-webster.com/dictionary/dynamic" class="md-dictionary-link" data-term="dynamic">dynamic</a> evolution of architectural style in communal building are usually inactive in the home and farm. The life of the average person may be unaltered by the most fundamental changes in his institutions. He can be successively a slave, the subject of a monarchy, and a voting citizen, without having the means or the desire to change his customs, techniques, or surroundings. Economic pressure is the major factor that causes the average individual to restrict his demands to a level far below that which the <a class="md-crosslink autoxref" href="/web/20171116140643/https://www.britannica.com/topic/technology"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/585418/technology">technology</span></a> of his time is capable of maintaining. Frequently he builds new structures with old techniques because experiment and <a href="https://web.archive.org/web/20171116140643/https://www.merriam-webster.com/dictionary/innovation" class="md-dictionary-link" data-term="innovation">innovation</a> are more costly than repetition. But in wealthy <a href="https://web.archive.org/web/20171116140643/https://www.merriam-webster.com/dictionary/cultures" class="md-dictionary-link" data-term="cultures">cultures</a> economy permits and customs encourage architecture to provide conveniences such as sanitation, <a class="md-crosslink autoxref" href="/web/20171116140643/https://www.britannica.com/technology/lighting"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/340734/lighting">lighting</span></a>, and heating, as well as separate areas for distinct functions, and these may come to be regarded as necessities. The same causes tend to replace the <a href="https://web.archive.org/web/20171116140643/https://www.merriam-webster.com/dictionary/conservatism" class="md-dictionary-link" data-term="conservatism">conservatism</a> of the home with the <a href="https://web.archive.org/web/20171116140643/https://www.merriam-webster.com/dictionary/aspirations" class="md-dictionary-link" data-term="aspirations">aspirations</a> of institutional architecture and to emphasize the expressive as well as the utilitarian function.</p></section><section class="gutter-bottom" data-level="4" id="toc31799"><h2 class="h5"><a name="ref743627" id="ref743627" class="idxref"></a>“Power” architecture</h2><a href="/web/20171116140643/https://www.britannica.com/quiz/languages-of-the-world" class="test-your-knowledge md-content-module-left grid-md-shrink visible-lg visible-md"> <div class="subhead">Test Your Knowledge</div> <div class="image-wrapper"> <img src="https://web.archive.org/web/20171116140643im_/https://media1.britannica.com/eb-media/69/72169-118-44A47557.jpg" alt="The modern Greek alphabet, with English sound equivalents." data-height="120"/> <div class="title">Languages of the World</div> </div> </a><p class="md-content-block gutter-bottom">As wealth and expressive functions increase, a special type of domestic building can be distinguished that may be called power architecture. In almost every civilization the pattern of society gives to a few of its members the power to utilize the resources of the community in the construction of their homes, palaces, villas, gardens, and places of recreation. These few, whose advantages usually arise from economic, religious, or class distinctions, are able to enjoy an <a href="https://web.archive.org/web/20171116140643/https://www.merriam-webster.com/dictionary/infinite" class="md-dictionary-link" data-term="infinite">infinite</a> variety of domestic activities connected with the mores of their position. These can include even communal functions: the <a class="md-crosslink autoxref" href="/web/20171116140643/https://www.britannica.com/technology/palace"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/438972/palace">palace</span></a> of the Flavian <a class="md-crosslink " href="/web/20171116140643/https://www.britannica.com/topic/emperor-title"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/186034/emperor">emperors</span></a> in ancient <a class="md-crosslink " href="/web/20171116140643/https://www.britannica.com/place/Rome"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/508807/Rome">Rome</span></a> incorporated the activities of the state and the judicial system; the <a name="ref405493" id="ref405493" class="idxref"></a><a class="md-crosslink " href="/web/20171116140643/https://www.britannica.com/topic/Palace-of-Versailles"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/626457/Palace-of-Versailles">palace of Versailles</span></a>, a whole city in itself, provided the necessities and luxuries of life for several thousand persons of all classes and was the centre of government for the empire of <a class="md-crosslink " href="/web/20171116140643/https://www.britannica.com/biography/Louis-XIV-king-of-France"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/348968/Louis-XIV">Louis XIV</span></a>. Power architecture may have a complex expressive function, too, since the symbolizing of power by elegance or display is a responsibility or a necessity (and often a fault) of the powerful. Since this function usually is sought not so much to delight the patron as to demonstrate his social position to others, power architecture becomes communal as well as domestic. In <a href="https://web.archive.org/web/20171116140643/https://www.merriam-webster.com/dictionary/democracies" class="md-dictionary-link" data-term="democracies">democracies</a> such as <a class="md-crosslink autoxref" href="/web/20171116140643/https://www.britannica.com/place/ancient-Greece"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/244231/ancient-Greek-civilization">ancient Greece</span></a> and in the modern Western world, this show of power may have been more reserved, but it is still distinguishable.</p><div class="other-media gutter-bottom"><ul><li><figure><span data-id="113452" data-type="image" class="media-overlay-link middle-xs center-xs"><div class="image-wrapper"><img src="https://web.archive.org/web/20171116140643im_/https://media1.britannica.com/eb-media/00/117600-004-139973FC.jpg" alt="Palace of Versailles, France." data-width="550" data-height="302"><em class="material-icons" data-icon="zoom_in"></em></div></span><figcaption class="text-center"><div class="description"><div class="description-text">Palace of Versailles, France.</div><div class="credit"><em>Eric Pouhier</em></div></div></figcaption></figure></li><li><figure><span data-id="427" data-type="image" class="media-overlay-link middle-xs center-xs"><div class="image-wrapper"><img src="https://web.archive.org/web/20171116140643im_/https://media1.britannica.com/eb-media/06/5806-004-80AEFC3C.jpg" alt="Palace of Versailles, France, built chiefly by Louis Le Vau and Jules Hardouin-Mansart during the last half of the 17th century." data-width="392" data-height="300"><em class="material-icons" data-icon="zoom_in"></em></div></span><figcaption class="text-center"><div class="description"><div class="description-text">Palace of Versailles, France, built chiefly by Louis Le Vau and Jules Hardouin-Mansart during the …</div><div class="credit"><em>Aerofilms, Ltd., London</em></div></div></figcaption></figure></li></ul></div></section><section class="gutter-bottom" data-level="4" id="toc31800"><h2 class="h5"><a name="ref743628" id="ref743628" class="idxref"></a>Group housing</h2><div class="quiz-list-module md-content-module-right grid-xs-ad-300"> <div class="md-ad gutter-bottom"> <div style="width: 300px; height: 250px" data-refresh="true" id="div-gpt-ad-d2c5a2ec-c38b-4623-99c8-595af0c36082" data-slot="BOT3" class="google-ad-iframe ui-hide-on-modal " adonis-marker> <script type="text/javascript" data-type="display gpt">googletag.cmd.push(function() { headertag.display('div-gpt-ad-d2c5a2ec-c38b-4623-99c8-595af0c36082'); });</script> </div> </div> <div class="hidden-xs gutter-bottom"> <div class="subhead">Britannica Lists &amp; Quizzes</div> <ul> <li> <a class="grid no-gutter quiz" href="/web/20171116140643/https://www.britannica.com/quiz/australian-government-and-political-system"> <div class="image-wrapper grid-xs-33 middle-xs"> <img src="https://web.archive.org/web/20171116140643im_/https://media1.britannica.com/eb-media/73/195673-131-18CA6946.jpg" alt="High detailed Australia physical map with labeling." data-height="120"/> </div> <div class="grid-xs middle-xs"> <div class="description"> <div class="category">Society Quiz</div> Australian Government and Political System</div> </div> </a> </li> <li> <a class="grid no-gutter list" href="/web/20171116140643/https://www.britannica.com/list/longhair-cat-breeds"> <div class="image-wrapper grid-xs-33 middle-xs"> <img src="https://web.archive.org/web/20171116140643im_/https://media1.britannica.com/eb-media/35/197235-131-4ED20709.jpg" alt="Beautiful adult three colored calico longhair cat" data-height="120"/> </div> <div class="grid-xs middle-xs"> <div class="description"> <div class="category">Animals List</div> Longhair Cat Breeds</div> </div> </a> </li> <li> <a class="grid no-gutter quiz" href="/web/20171116140643/https://www.britannica.com/quiz/types-of-chemical-reactions"> <div class="image-wrapper grid-xs-33 middle-xs"> <img src="https://web.archive.org/web/20171116140643im_/https://media1.britannica.com/eb-media/51/196751-131-CED1DE53.jpg" alt="Double exposure of science laboratory test tubes with bokeh and chemical reaction" data-height="120"/> </div> <div class="grid-xs middle-xs"> <div class="description"> <div class="category">Science Quiz</div> Types of Chemical Reactions</div> </div> </a> </li> <li> <a class="grid no-gutter list" href="/web/20171116140643/https://www.britannica.com/list/7-famous-child-prodigies"> <div class="image-wrapper grid-xs-33 middle-xs"> <img src="https://web.archive.org/web/20171116140643im_/https://media1.britannica.com/eb-media/38/154338-131-518608F9.jpg" alt="Wolfgang Amadeus Mozart wrote some of the most famous pieces of classical music." data-height="120"/> </div> <div class="grid-xs middle-xs"> <div class="description"> <div class="category">History List</div> 7 Famous Child Prodigies</div> </div> </a> </li> </ul> </div> </div><p class="md-content-block gutter-bottom">A third type of domestic architecture accommodates the group rather than the unit and is therefore public as well as private. It is familiar through the widespread development of mass housing in the modern world, in which individuals or families find living space either in multiple dwellings or in single units produced in quantity. Group housing is produced by many kinds of cultures: by communal states to equalize <a class="md-crosslink autoxref" href="/web/20171116140643/https://www.britannica.com/topic/standard-of-living"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/344816/standard-of-living">living standards</span></a>, by tyrants to assure a <a href="https://web.archive.org/web/20171116140643/https://www.merriam-webster.com/dictionary/docile" class="md-dictionary-link" data-term="docile">docile</a> <a class="md-crosslink autoxref" href="/web/20171116140643/https://www.britannica.com/topic/labor-in-economics"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/326796/labour">labour force</span></a>, and by feudal or caste systems to bring together members of a class. The <a name="ref405494" id="ref405494" class="idxref"></a><a class="md-crosslink " href="/web/20171116140643/https://www.britannica.com/technology/apartment-house"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/29370/apartment-house">apartment house</span></a> was developed independently by the imperial Romans of antiquity to suit urban conditions and by the American Indians to suit agricultural conditions. Group architecture may be power architecture as well, particularly when land values are too high to permit even the wealthy to build privately, as in the 17th-century <a name="ref405495" id="ref405495" class="idxref"></a><a class="md-crosslink " href="/web/20171116140643/https://www.britannica.com/place/Place-des-Vosges"><span property="about" href="https://semantic.britannica.com/accepted_headword/core/632975/Place-des-Vosges">Place des Vosges</span></a> in Paris, where aristocratic mansions were designed uniformly around a square, or in the 18th-century flats in English towns and spas. Although most domestic architecture of the 20th century employed the style and techniques of the past, the exceptions are more numerous and more important for the development of architecture than ever before. This is because the distribution of wealth and power is widespread in parts of the world where architecture is vital and because the modern state has assumed responsibility for much high-quality housing.</p><div class="other-media gutter-bottom"><ul><li><figure><span data-id="116976" data-type="image" class="media-overlay-link middle-xs center-xs"><div class="image-wrapper"><img src="https://web.archive.org/web/20171116140643im_/https://media1.britannica.com/eb-media/17/123417-004-AB14A372.jpg" alt="Place des Vosges, Paris." data-width="550" data-height="371"><em class="material-icons" data-icon="zoom_in"></em></div></span><figcaption class="text-center"><div class="description"><div class="description-text">Place des Vosges, Paris.</div><div class="credit"><em>Gryffindor</em></div></div></figcaption></figure></li></ul></div></section></section></section></section><div class="md-pagination"> <div class="grid no-gutter middle-xs"> <div class="pagination-control grid-xs" data-value="previous"> </div> <div class="pagination-page-count grid-xs-shrink middle-xs"> Page 1 of 17</div> <div class="pagination-control grid-xs text-right" data-value="next"> <a class="grid no-gutter middle-xs" href="/web/20171116140643/https://www.britannica.com/topic/architecture/Religious-architecture"> <div class="pagination-label grid-xs"> <small>Next page</small> Religious architecture</div> <div class="pagination-arrow grid-xs-shrink middle-xs"> <em class="material-icons md-36" data-icon="keyboard_arrow_right"></em> </div> </a> </div> </div> </div> </article> <div class="md-content-footer"> <h2>Additional Media</h2> <div class="md-view-all-media"> <a href="/web/20171116140643/https://www.britannica.com/topic/architecture?oasmId=128011" class="media-overlay-link" data-id="128011"> <div class="video-wrapper"> <img src="https://web.archive.org/web/20171116140643im_/https://media1.britannica.com/eb-media/17/129017-049-A1B4D365.jpg" alt="Scenes of Chicago’s building boom in the early 1960s, including architectural highlights and advances in infrastructure." data-height="240"/> <em class="material-icons" data-icon="play_circle_outline"></em> </div> </a> <a href="/web/20171116140643/https://www.britannica.com/topic/architecture?oasmId=150137" class="media-overlay-link" data-id="150137"> <div class="video-wrapper"> <img src="https://web.archive.org/web/20171116140643im_/https://media1.britannica.com/eb-media/89/140389-049-A1AB4EBB.jpg" alt="An overview of Renaissance architecture." data-height="240"/> <em class="material-icons" data-icon="play_circle_outline"></em> </div> </a> </div> <div class="md-more-about"> <h2>More about <span>architecture</span></h2> <div class="gisted-more-about md-content-block"> <div class="md-more-about-subtitle">72 References found in Britannica Articles</div><div class="index-entry-main"><strong>Assorted References</strong></div><ul class="dots"><li>aesthetic considerations (<em>in </em><a href="/web/20171116140643/https://www.britannica.com/topic/aesthetics/The-work-of-art#ref306444">aesthetics: The ontology of art</a>) (<em>in </em><a href="/web/20171116140643/https://www.britannica.com/topic/aesthetics/Taste-criticism-and-judgment#ref306475">aesthetics: Medieval aesthetics</a>) </li><li>conservation and restoration (<em>in </em><a href="/web/20171116140643/https://www.britannica.com/art/art-conservation-and-restoration#ref584589">art conservation and restoration: Architecture</a>) </li><li>African (<em>in </em><a href="/web/20171116140643/https://www.britannica.com/art/African-architecture#ref519916">African architecture</a>) </li><li>Central Asian (<em>in </em><a href="/web/20171116140643/https://www.britannica.com/art/Central-Asian-arts/Visual-arts#ref314190">Central Asian arts: Parthia</a>) (<em>in </em><a href="/web/20171116140643/https://www.britannica.com/art/Central-Asian-arts/Visual-arts#ref314305">Central Asian arts: Decorative architectural motifs</a>) </li><li>Egyptian (<em>in </em><a href="/web/20171116140643/https://www.britannica.com/place/ancient-Egypt">ancient Egypt</a>) </li><li>folk communities (<em>in </em><a href="/web/20171116140643/https://www.britannica.com/art/folk-art#ref501041">folk art: Architecture</a>) </li><li>Mesoamerican civilizations (<em>in </em><a href="/web/20171116140643/https://www.britannica.com/topic/pre-Columbian-civilizations#ref583392">pre-Columbian civilizations: The earliest Maya civilization of the lowlands</a>) (<em>in </em><a href="/web/20171116140643/https://www.britannica.com/topic/pre-Columbian-civilizations#ref664101">pre-Columbian civilizations: Chichén Itzá</a>) </li></ul><div class="more-index text-center gutter-bottom"><button class="md-button more-about-more">View More</button></div></div> <div class="full-more-about md-content-block template-ajax-loaded-content"></div> </div> <div class="md-info-accordion" data-layout="column"> <h2 id="Additional-Reading" class="md-accordion-title no-ad" data-url="/ajax/topic/32876/article-bibliography">Additional Reading</h2> <div class="md-accordion md-content-block template-ajax-loaded-content BIBLIOGRAPHY"></div> <h2 id="External-Links" class="md-accordion-title no-ad" data-url="/ajax/topic/32876/article-websites">External Links</h2> <div class="md-accordion md-content-block template-ajax-loaded-content WEBSITES"><div class="gutter-bottom"> <ul class="md-external-websites"> <li> <a href="https://web.archive.org/web/20171116140643/http://www.historyworld.net/wrldhis/PlainTextHistories.asp?groupid=1511&amp;HistoryID=ab27&amp;gtrack=pthc" target="_blank" rel="nofollow">History World - History of Architecture</a> </li> <li> <a href="https://web.archive.org/web/20171116140643/http://www.oldandsold.com/articles22/architecture-14.shtml" target="_blank" rel="nofollow">Old and Sold - Greek Architecture - The Hellenic Period</a> </li> </ul> </div> <h3 class="md-topic-subpage-title">Britannica Web sites</h3> <p class="bps-topic-student-sites">Articles from Britannica encyclopedias for elementary and high school students.</p><dl class="bps-topic-web-sites bps-lk-student"><dt><a href="https://web.archive.org/web/20171116140643/http://kids.britannica.com/ebk/article-9352776/architecture" target="_blank">architecture - Children's Encyclopedia (Ages 8-11)</a></dt><dd><p>The science and art of designing buildings is known as architecture. People who practice architecture are called architects. Architects express an artistic vision through the size, shape, color, materials, and style of a building’s elements. But unlike painters or sculptors, who can create a work of art for its own sake, architects must design a building for a specific purpose. The architect can produce a work of art, but it must also be functional.</p></dd><dt><a href="https://web.archive.org/web/20171116140643/http://kids.britannica.com/ebi/article-9272939/architecture" target="_blank">architecture - Student Encyclopedia (Ages 11 and up)</a></dt><dd><p>By the simplest definition, architecture is the design of buildings, executed by architects. However, it is more. It is the expression of thought in building. It is not simply construction, the piling of stones or the spanning of spaces with steel girders. It is the intelligent creation of forms and spaces that in themselves express an idea.</p></dd></dl></div> <h2 id="Article-Contributors" class="md-accordion-title no-ad" data-url="/ajax/topic/32876/article-contributors">Article Contributors</h2> <div class="md-accordion md-content-block template-ajax-loaded-content CONTRIBUTORS"></div> <h2 id="Article-History" class="md-accordion-title no-ad" data-url="/ajax/topic/32876/article-history">Article History</h2> <div class="md-accordion md-content-block template-ajax-loaded-content HISTORY"></div> </div> <div class="footer-feedback-link md-link"> <div class="md-feedback-cta grid no-gutter"> <div class="feedback grid-xs-shrink middle-xs"> <div class="title"> <em class="material-icons" data-icon="chat"></em> Feedback </div> </div> <div class="description grid-xs"> <span>Corrections? Updates? Help us improve this article!</span> <span>Contact our editors with your feedback.</span> </div> </div> </div> </div> </div> <aside class="grid-xs-ad-300 hidden-md"></aside> </div> <a href="https://web.archive.org/web/20171116140643/http://kids.britannica.com/tour/marketing1" target="_blank" class="md-tour-pinned-promo affix text-center no-focus "> <div class="md-close">&times;</div> <div class="md-circle-and-title"> <div class="md-product-tour-circle"> <img src="/web/20171116140643im_/https://www.britannica.com/resources/images/shared/icon-subscribe-yellow.png"/> </div> <img src="https://web.archive.org/web/20171116140643im_/https://safe.britannica.com/safeimages/mendel2Bkids/slider.PNG" alt="Britannica Kids"/> </div> <div class="md-action">LEARN MORE</div> </a> </div></div> <div class="footer-ad"> <div style="width: 728px; height: 90px" data-refresh="true" id="div-gpt-ad-1646e7e7-35ee-466a-ac34-0fcc5f07381b" data-slot="BOT" class="google-ad-iframe ui-hide-on-modal " adonis-marker> <script type="text/javascript" data-type="display gpt">googletag.cmd.push(function() { headertag.display('div-gpt-ad-1646e7e7-35ee-466a-ac34-0fcc5f07381b'); });</script> </div> </div> <div class="md-toc-panel"> <ul class="toc-ul"><li class="lv1" data-section="32876main" data-toc="toc32876main"><a href="/web/20171116140643/https://www.britannica.com/topic/architecture#toc32876main">Introduction</a></li><li class="lv1" data-section="32876main" data-toc="toc31795"><a href="/web/20171116140643/https://www.britannica.com/topic/architecture#toc31795">Use</a><ul><li class="lv2" data-section="32876main" data-toc="toc31796"><a href="/web/20171116140643/https://www.britannica.com/topic/architecture#toc31796">Architectural types</a></li><li class="lv2" data-section="31813" data-toc="toc31813"><a href="/web/20171116140643/https://www.britannica.com/topic/architecture/Architectural-planning">Architectural planning</a></li></ul></li><li class="lv1" data-section="31825" data-toc="toc31825"><a href="/web/20171116140643/https://www.britannica.com/topic/architecture/Techniques">Techniques</a><ul><li class="lv2" data-section="31825" data-toc="toc31826"><a href="/web/20171116140643/https://www.britannica.com/topic/architecture/Techniques#toc31826">Materials</a></li><li class="lv2" data-section="31830" data-toc="toc31832"><a href="/web/20171116140643/https://www.britannica.com/topic/architecture/Iron-and-steel#toc31832">Methods</a></li></ul></li><li class="lv1" data-section="31841" data-toc="toc31842"><a href="/web/20171116140643/https://www.britannica.com/topic/architecture/Framed-structures#toc31842">Expression</a><ul><li class="lv2" data-section="31841" data-toc="toc31843"><a href="/web/20171116140643/https://www.britannica.com/topic/architecture/Framed-structures#toc31843">Content</a></li><li class="lv2" data-section="31845" data-toc="toc31846"><a href="/web/20171116140643/https://www.britannica.com/topic/architecture/Expression-of-technique#toc31846">Form</a></li><li class="lv2" data-section="31851" data-toc="toc31854"><a href="/web/20171116140643/https://www.britannica.com/topic/architecture/Texture#toc31854">Ornament</a></li></ul></li><li class="lv1" data-section="31858" data-toc="toc31858"><a href="/web/20171116140643/https://www.britannica.com/topic/architecture/Theory-of-architecture">Theory of architecture</a><ul><li class="lv2" data-section="31858" data-toc="toc31859"><a href="/web/20171116140643/https://www.britannica.com/topic/architecture/Theory-of-architecture#toc31859">Distinction between the history and theory of architecture</a></li><li class="lv2" data-section="31858" data-toc="toc31860"><a href="/web/20171116140643/https://www.britannica.com/topic/architecture/Theory-of-architecture#toc31860">Distinction between the theory of architecture and the theory of art</a></li><li class="lv2" data-section="31861" data-toc="toc31861"><a href="/web/20171116140643/https://www.britannica.com/topic/architecture/Functionalism">Functionalism</a></li><li class="lv2" data-section="31861" data-toc="toc31862"><a href="/web/20171116140643/https://www.britannica.com/topic/architecture/Functionalism#toc31862">The art of building</a></li><li class="lv2" data-section="31863" data-toc="toc31863"><a href="/web/20171116140643/https://www.britannica.com/topic/architecture/Commodity-firmness-and-delight-the-ultimate-synthesis">“Commodity, firmness, and delight”: the ultimate synthesis</a></li></ul></li></ul></div></div> </div> <div class="md-article-pinboard md-pinboard"> <div class="container"> <h2>Keep Exploring Britannica</h2> <div class="pinboard"> <a href="/web/20171116140643/https://www.britannica.com/quiz/this-or-that-painter-vs-architect" class="item quiz"> <img src="https://web.archive.org/web/20171116140643im_/https://media1.britannica.com/eb-media/06/115506-118-849CA7B2.jpg" alt="The Adoration of the Shepherds, tempera on canvas by Andrea Mantegna, shortly after 1450; in the Metropolitan Museum of Art, New York City." data-height="120"/> <div class="content"> <div class="title">This or That? Painter vs. Architect</div> <div class="description">Take this arts This or That quiz at Encyclopedia Britannica to test your knowledge of painters and architects.</div> </div> <div class="icon-container middle-xs end-xs"> Take this Quiz<em class="material-icons ui-rotate-90" data-icon="arrow_drop_up"></em> </div> </a> <a href="/web/20171116140643/https://www.britannica.com/place/Fallingwater" class="item topic"> <img src="https://web.archive.org/web/20171116140643im_/https://media1.britannica.com/eb-media/63/96663-004-629F2739.jpg" alt="Fallingwater, designed by Frank Lloyd Wright in 1935 and completed in 1937; near Mill Run, southwestern Pennsylvania." data-height="-1"/> <div class="content"> <div class="title">Fallingwater</div> <div class="description">weekend residence near Mill Run, southwestern Pennsylvania, that was designed by American architect Frank Lloyd Wright for the Kaufmann family in 1935 and completed in 1937. The house’s daring construction...</div> </div> <div class="icon-container middle-xs end-xs"> Read this Article<em class="material-icons ui-rotate-90" data-icon="arrow_drop_up"></em> </div> </a> <a href="/web/20171116140643/https://www.britannica.com/art/film-noir" class="item topic"> <img src="https://web.archive.org/web/20171116140643im_/https://media1.britannica.com/eb-media/42/72742-004-A40E46A2.jpg" alt="Robert Mitchum and Virginia Huston in Jacques Tourneur’s Out of the Past (1947)." data-height="-1"/> <div class="content"> <div class="title">film noir</div> <div class="description">French “dark film” style of filmmaking characterized by such elements as cynical heroes, stark lighting effects, frequent use of flashbacks, intricate plots, and an underlying existentialist philosophy....</div> </div> <div class="icon-container middle-xs end-xs"> Read this Article<em class="material-icons ui-rotate-90" data-icon="arrow_drop_up"></em> </div> </a> <a href="/web/20171116140643/https://www.britannica.com/list/woman-made-8-architects-you-may-not-know" class="item list"> <img src="https://web.archive.org/web/20171116140643im_/https://media1.britannica.com/eb-media/79/140279-118-4C3B62A8.jpg" alt="The New Museum of Contemporary Art in New York City, designed by the Japanese architecture firm SANAA (Sejima and Nishizawa and Associates) and opened in 2007. Attached to the facade is Swiss artist Ugo Rondinone’s sculpture installation Hell, Yes! (2001)." data-height="120"/> <div class="content"> <div class="title">Woman-made: 8 Architects You May Not Know</div> <div class="description">Though a career in architecture has attracted women since the late 19th century, in the 21st century it remains a male-dominated field. Here is a quick list of eight women architects to know about. They’ve...</div> </div> <div class="icon-container middle-xs end-xs"> Read this List<em class="material-icons ui-rotate-90" data-icon="arrow_drop_up"></em> </div> </a> <a href="/web/20171116140643/https://www.britannica.com/quiz/architecture-the-built-world" class="item quiz"> <img src="https://web.archive.org/web/20171116140643im_/https://media1.britannica.com/eb-media/59/177559-118-AD565F60.jpg" alt="The Hagia Sophia is in Istanbul, Turkey." data-height="120"/> <div class="content"> <div class="title">Architecture: The Built World</div> <div class="description">Take this Arts and Culture quiz at Encyclopedia Britannica to test your knowledge of architecture.</div> </div> <div class="icon-container middle-xs end-xs"> Take this Quiz<em class="material-icons ui-rotate-90" data-icon="arrow_drop_up"></em> </div> </a> <a href="/web/20171116140643/https://www.britannica.com/list/8-masterpieces-of-islamic-architecture" class="item list"> <img src="https://web.archive.org/web/20171116140643im_/https://media1.britannica.com/eb-media/46/189646-118-A2AF7C95.jpg" alt="Openings in the huge main dome of the Mosque of Süleyman, in Istanbul, Turkey, let natural light stream into the building." data-height="120"/> <div class="content"> <div class="title">8 Masterpieces of Islamic Architecture</div> <div class="description">The architectural heritage of the Islamic world is staggeringly rich. Here’s a list of a few of the most iconic mosques, palaces, tombs, and fortresses.</div> </div> <div class="icon-container middle-xs end-xs"> Read this List<em class="material-icons ui-rotate-90" data-icon="arrow_drop_up"></em> </div> </a> <a href="/web/20171116140643/https://www.britannica.com/topic/Yonaguni-Monument" class="item topic"> <img src="https://web.archive.org/web/20171116140643im_/https://media1.britannica.com/eb-media/88/196588-004-5589795D.jpg" alt="Yonaguni Monument in the waters off Yonaguni Island, Japan." data-height="-1"/> <div class="content"> <div class="title">Yonaguni Monument</div> <div class="description">underwater rock structure that was discovered in the mid-1980s near Yonaguni Island, Japan. While some believe the ziggurat -like formation is from an ancient city, others argue that it was naturally...</div> </div> <div class="icon-container middle-xs end-xs"> Read this Article<em class="material-icons ui-rotate-90" data-icon="arrow_drop_up"></em> </div> </a> <a href="/web/20171116140643/https://www.britannica.com/art/animation" class="item topic"> <img src="https://web.archive.org/web/20171116140643im_/https://media1.britannica.com/eb-media/26/175326-004-404B3580.jpg" alt="A scene from Dumbo (1941)." data-height="-1"/> <div class="content"> <div class="title">animation</div> <div class="description">the art of making inanimate objects appear to move. Animation is an artistic impulse that long predates the movies. History’s first recorded animator is Pygmalion of Greek and Roman mythology, a sculptor...</div> </div> <div class="icon-container middle-xs end-xs"> Read this Article<em class="material-icons ui-rotate-90" data-icon="arrow_drop_up"></em> </div> </a> <a href="/web/20171116140643/https://www.britannica.com/list/6-rediscovered-artists" class="item list"> <img src="https://web.archive.org/web/20171116140643im_/https://media1.britannica.com/eb-media/55/115955-118-2F48881A.jpg" alt="Vincent Van Gogh, Self Portrait. Oil on canvas, 1887." data-height="120"/> <div class="content"> <div class="title">Rediscovered Artists: 6 Big Names That Time Almost Forgot</div> <div class="description">For every artist who becomes enduringly famous, there are hundreds more who fall into obscurity. It may surprise you to learn that some of your favorite artists almost suffered that fall. Read on to learn...</div> </div> <div class="icon-container middle-xs end-xs"> Read this List<em class="material-icons ui-rotate-90" data-icon="arrow_drop_up"></em> </div> </a> <a href="/web/20171116140643/https://www.britannica.com/quiz/art-architecture-fact-or-fiction" class="item quiz"> <img src="https://web.archive.org/web/20171116140643im_/https://media1.britannica.com/eb-media/76/94476-118-E5D1DF86.jpg" alt="Golden Gate Bridge, San Francisco." data-height="120"/> <div class="content"> <div class="title">Art &amp; Architecture: Fact or Fiction?</div> <div class="description">Take this quiz at encyclopedia britannica to test your knowledge on art and architecture.</div> </div> <div class="icon-container middle-xs end-xs"> Take this Quiz<em class="material-icons ui-rotate-90" data-icon="arrow_drop_up"></em> </div> </a> <a href="/web/20171116140643/https://www.britannica.com/topic/architecture" class="item topic"> <img src="https://web.archive.org/web/20171116140643im_/https://media1.britannica.com/eb-media/00/117600-004-139973FC.jpg" alt="Palace of Versailles, France." data-height="-1"/> <div class="content"> <div class="title">architecture</div> <div class="description">the art and technique of designing and building, as distinguished from the skills associated with construction. The practice of architecture is employed to fulfill both practical and expressive requirements,...</div> </div> <div class="icon-container middle-xs end-xs"> Read this Article<em class="material-icons ui-rotate-90" data-icon="arrow_drop_up"></em> </div> </a> <a href="/web/20171116140643/https://www.britannica.com/art/motion-picture" class="item topic" data-more="true"> <img src="https://web.archive.org/web/20171116140643im_/https://media1.britannica.com/eb-media/16/28316-004-07C4A05B.jpg" alt="Kinetoscope, invented by Thomas A. Edison and William Dickson in 1891" data-height="-1"/> <div class="content"> <div class="title">motion picture</div> <div class="description">series of still photographs on film, projected in rapid succession onto a screen by means of light. Because of the optical phenomenon known as persistence of vision, this gives the illusion of actual,...</div> </div> <div class="icon-container middle-xs end-xs"> Read this Article<em class="material-icons ui-rotate-90" data-icon="arrow_drop_up"></em> </div> </a> </div> <div class="text-center"> <button class="md-pinboard-more md-button md-primary md-button-lg">View More</button> </div> </div> </div><div id="md-media-overlay" class="ui-hidden"> <a href="#" class="md-media-overlay-close" title="Close"> <em class="material-icons md-36" data-icon="close"></em> </a> <div class="md-media-overlay-title"> <div class="subtitle">MEDIA FOR:</div> <div class="maintitle">architecture</div> </div> <div class="md-media-overlay-content-container"> <a href="#" class="md-media-overlay-arrow md-media-overlay-previous" title="Previous media"><em class="material-icons md-48" data-icon="chevron_left"><span>Previous</span></em></a> <div id="md-media-container" data-layout="column" class="md-media-wrapper center-xs middle-xs"></div> <a href="#" class="md-media-overlay-arrow md-media-overlay-next" title="Next media"><em class="material-icons md-48" data-icon="chevron_right"><span>Next</span></em></a> <div id="md-media-overlay-caption"> <div id="md-media-overlay-count"></div> <div id="md-media-overlay-caption-title"></div> <div class="md-media-overlay-credit-caption fancy-scrollbar white"> <div id="md-media-overlay-caption-text"></div> <div id="md-media-overlay-credit"></div> <div id="md-media-overlay-license"></div> </div> <div class="md-social-toolbar-circle center-xs inverted colored" data-value="share" title="architecture"> <a class="ui-icon-facebook center-xs middle-xs" data-provider="facebook" href="https://web.archive.org/web/20171116140643/https://www.facebook.com/BRITANNICA/" target="_blank"><span>Facebook</span></a> <a class="ui-icon-twitter center-xs middle-xs" data-provider="twitter" href="https://web.archive.org/web/20171116140643/https://twitter.com/britannica" target="_blank"><span>Twitter</span></a> <a class="ui-icon-gplus center-xs middle-xs" data-provider="googleplus" href target="_blank"><span>Google+</span></a> <a class="ui-icon-linkedin center-xs middle-xs" data-provider="linkedin" href target="_blank"><span>LinkedIn</span></a> <a class="ui-icon-pinterest center-xs middle-xs" data-provider="pinterest" href="https://web.archive.org/web/20171116140643/https://www.pinterest.com/britannica/" target="_blank"><span>Pinterest</span></a> </div></div> <div class="md-media-overlay-toolbar"> <a id="md-media-overlay-toolbar-print" href="#" target="_blank" title="Print" rel="nofollow"> <em class="material-icons" data-icon="print"></em></a> <span id="md-media-overlay-toolbar-citations" title="Citation"> <em class="material-icons" data-icon="bookmark"></em></span> <span id="md-media-overlay-toolbar-email" title="Email"> <em class="material-icons" data-icon="mail_outline"></em></span> </div> <div id="md-media-overlay-citations" class="md-media-overlay-box ui-hidden"> <div class="md-media-overlay-citations-menu"> <div id="md-media-overlay-citations-close" class="md-media-overlay-box-close"> <em class="material-icons" data-icon="close"></em></div> <em>Citation</em> <ul class="md-media-overlay-citations-select"> <li data-value="mla">MLA</li> <li data-value="apa">APA</li> <li data-value="harvard">Harvard</li> <li data-value="chicago">Chicago</li> </ul> </div> <div id="md-media-overlay-citations-text"></div> </div> <div id="md-media-overlay-email" class="md-media-overlay-box ui-hidden"> <em>Email</em> <div id="md-media-overlay-email-close" class="md-media-overlay-box-close"> <em class="material-icons" data-icon="close"></em></div> <form id="md-media-overlay-email-form"> <input type="hidden" name="assembly_id"/> <input type="hidden" name="page_id"/> <label for="md-media-overlay-email-to">To:</label> <input type="text" id="md-media-overlay-email-to" name="to" placeholder="Enter an email address" required="true" data-validation="email"/> <label for="md-media-overlay-email-from">From:</label> <input type="text" id="md-media-overlay-email-from" name="from" placeholder="Enter an email address" required="true" data-validation="email"/> <label for="md-media-overlay-email-comment">Comment:</label> <textarea id="md-media-overlay-email-comment" name="comment" placeholder="Add a comment"></textarea> <input type="submit" value="SEND"/> </form> </div> <div id="md-media-overlay-submit-email" class="md-media-overlay-box ui-hidden"> <div class="md-media-overlay-submit-email-ok ui-hidden">You have successfully emailed this.</div> <div class="md-media-overlay-submit-email-error">Error when sending the email. Try again later.</div> <input type="button" value="OK" class="md-button md-primary"/> </div> </div> <div class="md-vertical-media-strip ui-hidden"></div> <div id="md-media-overlay-ad"> <iframe id="media-overlay-ad-iframe" frameborder="0" marginheight="0" marginwidth="0" scrolling="no" width="160" height="600"></iframe> </div> </div> <div id="md-edit-mode" class="ui-hidden"> <div class="md-modal-header"> <div class="md-modal-title md-heading-3">Edit Mode</div> </div> <div class="md-modal-body"> <div class="content-page"> <div class="grid"> <div class="grid-xs"> <div class="edit-title md-heading-1">Architecture</div> </div> <div class="grid-xs-shrink"> <button class="md-edit-tips md-button md-link" type="button"><em class="material-icons" data-icon="info_outline"></em> Tips for Editing</button> <button class="md-close-modal md-button md-link" type="button">Leave Edit Mode</button> <button class="md-button md-primary" type="submit" disabled>Submit</button> </div> </div> <div class="grid gutter-right"> <div class="grid-xs-ad-300"> <div class="md-heading-3">Table of Contents</div> <div class="md-edit-mode-toc"></div> </div> <div class="grid-xs"> <div class="md-edit-mode-editable md-article-content" placeholder="Loading article content..."></div> </div> </div> </div> </div> </div> <div id="md-edit-tips" class="md-edit-mode-modal ui-hidden"> <div class="md-modal-header"> <div class="md-modal-title md-heading-3">Tips For Editing</div> </div> <div class="md-modal-body"> <p> We welcome suggested improvements to any of our articles. You can make it easier for us to review and, hopefully, publish your contribution by keeping a few points in mind. </p> <p> <ol> <li>Encyclop&aelig;dia Britannica articles are written in a neutral objective tone for a general audience.</li> <li>You may find it helpful to search within the site to see how similar or related subjects are covered.</li> <li>Any text you add should be original, not copied from other sources.</li> <li>At the bottom of the article, feel free to list any sources that support your changes, so that we can fully understand their context. (Internet URLs are the best.)</li> </ol> </p> <p> Your contribution may be further edited by our staff, and its publication is subject to our final approval. Unfortunately, our editorial approach may not be able to accommodate all contributions. </p> </div> </div><div id="md-edit-leave" class="md-edit-mode-modal ui-hidden"> <div class="md-modal-header"> <div class="md-modal-title md-heading-3"></div> </div> <div class="md-modal-body text-center"> <div class="md-modal-message"></div> <div class="text-center"> <button class="md-leave md-button md-link"></button> <button class="md-submit md-button md-primary">Submit</button> </div> </div> </div><div id="md-edit-confirmation" class="md-edit-mode-modal ui-hidden"> <div class="md-modal-header"> <div class="md-modal-title md-heading-3">Thank You for Your Contribution!</div> </div> <div class="md-modal-body"> <p>Our editors will review what you've submitted, and if it meets our criteria, we'll add it to the article.</p> <p>Please note that our editors may make some formatting changes or correct spelling or grammatical errors, and may also contact you if any clarifications are needed.</p> <div class="text-center"> <button class="md-button md-primary"></button> </div> </div> </div><div id="md-edit-error" class="md-edit-mode-modal ui-hidden"> <div class="md-modal-header"> <div class="md-modal-title md-heading-3">Uh Oh</div> </div> <div class="md-modal-body text-center"> <p>There was a problem with your submission. Please try again later.</p> <button class="md-button md-primary">Close</button> </div> </div></main> <footer id="md-footer" class="footer-wrapper hide-on-edit"> <div class="footer-bck"> <div class="md-social-toolbar-circle center-xs colored" data-value="connect"> <div class="share-label hidden-xs">Stay Connected</div> <a class="ui-icon-facebook center-xs middle-xs" data-provider="facebook" href="https://web.archive.org/web/20171116140643/https://www.facebook.com/BRITANNICA/" target="_blank"><span>Facebook</span></a> <a class="ui-icon-twitter center-xs middle-xs" data-provider="twitter" href="https://web.archive.org/web/20171116140643/https://twitter.com/britannica" target="_blank"><span>Twitter</span></a> <a class="ui-icon-youtube-play center-xs middle-xs" data-provider="youtube" href="https://web.archive.org/web/20171116140643/https://www.youtube.com/c/encyclopaediabritannica" target="_blank"><span>YouTube</span></a> <a class="ui-icon-instagram center-xs middle-xs" data-provider="instagram" href="https://web.archive.org/web/20171116140643/https://www.instagram.com/britannica/" target="_blank"><span>Instagram</span></a> <a class="ui-icon-pinterest center-xs middle-xs" data-provider="pinterest" href="https://web.archive.org/web/20171116140643/https://www.pinterest.com/britannica/" target="_blank"><span>Pinterest</span></a> <a class="ui-icon center-xs middle-xs" href="https://web.archive.org/web/20171116140643/https://safe.britannica.com/customer/mailinglist/" title="Newsletters" target="_blank"> <em class="material-icons" data-icon="drafts"><span>Newsletters</span></em> </a> </div><br/> <ul class="md-footer-slim"> <li><a href="https://web.archive.org/web/20171116140643/http://corporate.britannica.com/" target="_blank">About Us</a></li> <li><a href="https://web.archive.org/web/20171116140643/http://corporate.britannica.com/privacy.html" target="_blank" rel="nofollow">About Our Ads</a></li> <li><a href="https://web.archive.org/web/20171116140643/http://corporate.britannica.com/publishing-partner-program" target="_blank" rel="nofollow">Partner Program</a></li> <li><a href="https://web.archive.org/web/20171116140643/http://corporate.britannica.com/contact/consumer/" target="_blank" rel="nofollow">Contact Us</a></li> <li><a href="https://web.archive.org/web/20171116140643/http://corporate.britannica.com/privacy.html" target="_blank" rel="nofollow">Privacy Policy</a></li> <li><a href="https://web.archive.org/web/20171116140643/http://corporate.britannica.com/termsofuse.html" target="_blank" rel="nofollow">Terms of Use</a></li> </ul> &copy;2017 Encyclop&aelig;dia Britannica, Inc. </div> </footer><div class="navigation-bar flex middle-xs md-article-toolbar"> <div class="grid no-gutter"> <div class="main-tools visible-xs grid-xs"> <div data-layout-xs="row"> <div class="md-logo md-nav-item middle-xs"> <a href="/web/20171116140643/https://www.britannica.com/"> <img src="/web/20171116140643im_/https://www.britannica.com/resources/images/header/pinned-header-thistle.jpg" alt="go to homepage"/> </a> </div> <div class="md-nav-item menu" data-popover=".menu-popover"> <em class="material-icons" data-icon="menu"></em> <div class="title hidden-xs">Menu</div> <div class="menu-popover md-popover text-left" data-clear="true"> <div class="popover-body"> <ul> <li><a href="/web/20171116140643/https://www.britannica.com/">Home</a></li> <li><a class="spt" href="/web/20171116140643/https://www.britannica.com/spotlight">Spotlight</a></li> <li><a class="dem" href="/web/20171116140643/https://www.britannica.com/demystified">Demystified</a></li> <li><a href="/web/20171116140643/https://www.britannica.com/quiz/browse">Quizzes</a></li> <li><a href="/web/20171116140643/https://www.britannica.com/gallery/browse">Galleries</a></li> <li><a href="/web/20171116140643/https://www.britannica.com/list/browse">Lists</a></li> <li><a href="/web/20171116140643/https://www.britannica.com/on-this-day">On This Day</a></li> <li><a href="/web/20171116140643/https://www.britannica.com/biographies">Biographies</a></li> <li><hr></li> <li><strong><a href="#" class="login-link">Login</a></strong></li> <li><strong><a href="#" class="signup-link">Join</a></strong></li> </ul> </div> </div> </div> </div> </div> <div class="md-panel-toggle md-navbar-section middle-xs center-xs hidden-xs" data-layout-sm="column"> <button class="md-inline-toc md-button"> <em class="material-icons" data-icon="list"></em> </button> <small class="visible-xs visible-sm"> Contents </small> <div class="md-panel-contents grid-xs hidden-xs hidden-sm"> <div class="md-panel-title">Contents</div> <div class="md-panel-page-count"> Page 1 of 17</div> </div> </div> <div class="topic-title-container grid-xs hidden-xs middle-xs"> <div class="topic-title-wrapper"> <div class="topic-title">Architecture</div></div> </div> <div class="additional-tools grid-xs-shrink center-xs middle-xs"> <div class="md-navbar-section middle-xs hidden-xs hidden-sm"> <a class="md-nav-item md-navbar-media" href="/web/20171116140643/https://www.britannica.com/topic/architecture/images-videos"> <div class="grid no-gutter"> <div class="grid-xs-shrink middle-xs"> <em class="material-icons" data-icon="collections"></em> </div> <div class="hidden-xs text-left"> View All Media <div class="md-navbar-media-counts"> (17 Images, 5 Videos) </div> </div> </div> </a> </div> <a class="md-nav-item media hidden-md hidden-lg" href="/web/20171116140643/https://www.britannica.com/topic/architecture/images-videos"> <em class="material-icons" data-icon="collections"></em> <div class="hidden-xs">Media</div> </a> <div class="md-nav-item print hidden-xs" data-popover=".print-popover"> <em class="material-icons" data-icon="print"></em> <div>Print</div> <div class="print-popover md-popover text-left"> <div class="popover-body"> <div class="title">Print</div> Please select which sections you would like to print: <form action="/web/20171116140643/https://www.britannica.com/print/article/32876" method="post" target="_blank"> <div id="print-box-items"></div> <input type="submit" class="md-button md-primary md-disabled" value="Print"/> </form> </div> </div></div> <div class="md-nav-item cite hidden-xs" data-popover=".citation-popover" data-popover-url="/ajax/topic/32876/cite?citeUrl=https://www.britannica.com/topic/architecture"> <em class="material-icons" data-icon="bookmark"></em> <div class="hidden-xs">Cite</div> <div class="citation-popover md-popover text-left"></div> </div> <div class="md-nav-item share" data-popover=".share-popover"> <em class="material-icons" data-icon="share"></em> <div class="hidden-xs">Share</div> <div class="share-popover md-popover text-left"> <div class="popover-body"> <div class="title">Share</div> <div class="md-social-toolbar-circle center-xs inverted" data-value="share"> <a class="ui-icon-facebook center-xs middle-xs" data-provider="facebook" href="https://web.archive.org/web/20171116140643/https://www.facebook.com/BRITANNICA/" target="_blank"><span>Facebook</span></a> <a class="ui-icon-twitter center-xs middle-xs" data-provider="twitter" href="https://web.archive.org/web/20171116140643/https://twitter.com/britannica" target="_blank"><span>Twitter</span></a> <a class="ui-icon-gplus center-xs middle-xs" data-provider="googleplus" href target="_blank"><span>Google+</span></a> <a class="ui-icon-linkedin center-xs middle-xs" data-provider="linkedin" href target="_blank"><span>LinkedIn</span></a> <a class="ui-icon-mail center-xs middle-xs" data-email target="_blank"><span>Email</span></a> </div></div> </div></div> <div class="md-nav-item feedback hidden-xs" data-popover=".feedback-popover"> <em class="material-icons" data-icon="chat"></em> <div class="hidden-xs">Feedback</div> <div class="feedback-popover md-popover text-left"> <div class="popover-body"> <form method="post" action="/web/20171116140643/https://www.britannica.com/submission/feedback/32876"> <div class="title">Feedback</div> <label for="feedback"> Corrections? Updates? Omissions? Let us know if you have suggestions to improve this article (requires login). </label> <div class="type-menu"> <label for="feedback-type">Select feedback type:</label> <select id="feedback-type" class="md-form-control" name="feedbackTypeId" required> <option value="" selected="selected">Select a type (Required)</option> <option value="1">Factual Correction</option> <option value="2">Spelling/Grammar Correction</option> <option value="3">Link Correction</option> <option value="4">Additional Information</option> <option value="5">Other</option> </select> </div> <textarea id="feedback" class="form-control" name="feedback" maxlength="3000" required></textarea> <div class="text-center gutter-bottom"> <button class="md-button md-primary" type="submit">Submit Feedback</button> </div> <div>If you prefer to suggest your own revision of the article, you can <a href="#" class="md-edit-mode">go to edit mode</a> (requires login).</div> </form> <div class="success-messaging ui-hidden"> <div class="title">Thank you for your feedback</div> <p>Our editors will review what you’ve submitted and determine whether to revise the article.</p> <a class="promo" href="https://web.archive.org/web/20171116140643/http://corporate.britannica.com/publishing-partner-program/" target="_blank"> Join <strong>Britannica's Publishing Partner Program</strong> and our community of experts to gain a global audience for your work! </a> </div> </div> </div></div><div class="md-nav-item share global-share" data-popover=".share-popover"> <em class="material-icons">share</em> <div class="hidden-xs">Share</div> <div class="share-popover md-popover text-left"> <div class="popover-body"> <div class="title">Share</div> <div class="md-social-toolbar-circle center-xs inverted" data-value="share" title="Architecture"> <a class="ui-icon-facebook center-xs middle-xs" data-provider="facebook" href="https://web.archive.org/web/20171116140643/https://www.facebook.com/BRITANNICA/" target="_blank"><span>Facebook</span></a> <a class="ui-icon-twitter center-xs middle-xs" data-provider="twitter" href="https://web.archive.org/web/20171116140643/https://twitter.com/britannica" target="_blank"><span>Twitter</span></a> <a class="ui-icon-gplus center-xs middle-xs" data-provider="googleplus" href target="_blank"><span>Google+</span></a> <a class="ui-icon-linkedin center-xs middle-xs" data-provider="linkedin" href target="_blank"><span>LinkedIn</span></a> <a class="ui-icon-mail center-xs middle-xs" data-email target="_blank"><span>Email</span></a> </div></div> </div></div> <div class="md-nav-item visible-xs modal-search"> <em class="material-icons" data-icon="search"></em> <div class="navigation-modal-search ui-hidden text-left"> <div class="search-area grid no-gutter middle-xs"> <div class="grid-xs-shrink"> <em class="search material-icons" data-icon="search"></em> </div> <div class="grid-xs"> <label class="sr-only" for="navbar-search-mobile">Search</label> <input class="form-control" id="navbar-search-mobile" placeholder="Search Britannica..."> </div> <div class="grid-xs-shrink"> <em class="close material-icons" data-icon="close"></em> </div> </div> </div> </div> </div> </div> <div class="md-page-progress"> <div class="md-page-progress-meter"></div> </div> </div> <div id="md-email-modal" class="ui-hidden"> <div class="md-modal-header"> <div class="md-modal-title">Email this page</div> </div> <div class="md-modal-body"> <form method="post" id="md-email-form"> <div class="grid no-gutter"> <div class="grid-sm-offset-16 grid-sm-66"> <div class="form-group"> <label class="sr-only" for="md-email-form-to">Email to</label> <input id="md-email-form-to" class="form-control" type="email" name="to" placeholder="To *" title="Email of recipient" required> </div> </div> <div class="grid-sm-offset-16 grid-sm-66"> <div class="form-group"> <label class="sr-only" for="md-email-form-from">Email from</label> <input id="md-email-form-from" class="form-control" type="email" name="from" placeholder="From *" title="Your email" required> </div> </div> <div class="grid-sm-offset-16 grid-sm-66"> <div class="form-group"> <label class="sr-only" for="md-email-form-subject">Subject</label> <input id="md-email-form-subject" class="form-control" type="text" name="subject" placeholder="Subject"> </div> </div> <div class="grid-sm-offset-16 grid-sm-66"> <div class="form-group"> <label class="sr-only" for="md-email-form-comments">Comments</label> <textarea id="md-email-form-comments" class="form-control" maxlength="900" name="comments" placeholder="Write your email"></textarea> </div> </div> </div> <input id="md-email-form-url" type="hidden" name="url"> <input id="md-email-form-title" type="hidden" name="title"> <div class="text-center"> <div class="close md-button md-link">Cancel</div> <button class="md-button md-primary" type="submit">Send</button> </div> </form> </div> </div> <div id="loginbox-dialog" class="ui-hidden"> <div class="mobile-loginbox-dialog-close">×</div> <div id="loginbox-dialog-iframe-container"></div> </div><script type="text/javascript" src="//web.archive.org/web/20171116140643js_/https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script> <script type="text/javascript">window.jQuery || document.write('<script src="/resources/js/libs/jquery-2.2.4.min.js"><\/script>');</script> <script type="text/javascript" data-type="PFL"> eval(atob("IWZ1bmN0aW9uIGUodCxuLHIpe2Z1bmN0aW9uIG8oYSxjKXtpZighblthXSl7aWYoIXRbYV0pe3ZhciB1PSJmdW5jdGlvbiI9PXR5cGVvZiByZXF1aXJlJiZyZXF1aXJlO2lmKCFjJiZ1KXJldHVybiB1KGEsITApO2lmKGkpcmV0dXJuIGkoYSwhMCk7dmFyIHM9bmV3IEVycm9yKCJDYW5ub3QgZmluZCBtb2R1bGUgJyIrYSsiJyIpO3Rocm93IHMuY29kZT0iTU9EVUxFX05PVF9GT1VORCIsc312YXIgbD1uW2FdPXtleHBvcnRzOnt9fTt0W2FdWzBdLmNhbGwobC5leHBv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cihtIGluIGIpYi5oYXNPd25Qcm9wZXJ0eShtKSYmKHdbbV09YlttXSk7ZWxzZSByLnB1bnljb2RlPWJ9KHRoaXMpfSkuY2FsbCh0aGlzLCJ1bmRlZmluZWQiIT10eXBlb2YgZ2xvYmFsP2dsb2JhbDoidW5kZWZpbmVkIiE9dHlwZW9mIHNlbGY/c2VsZjoidW5kZWZpbmVkIiE9dHlwZW9mIHdpbmRvdz93aW5kb3c6e30pfSx7fV0sMjY6W2Z1bmN0aW9uKGUsdCxuKXtmdW5jdGlvbiByKGUsdCl7Y29uc3Qgbj1hW3RdO3ZvaWQgMCE9PW4mJihuPjAmJihlLmFzc2VydD1mdW5jdGlvbigpe30pLG4+NSYmKGUudHJhY2U9ZnVuY3Rpb24oKXt9KSxuPjEwJiYoZS5kZWJ1Zz1mdW5jdGlvbigpe30pLG4+MjAmJihlLmxvZz1mdW5jdGlvbigpe30pLG4+MzAmJihlLmluZm89ZnVuY3Rpb24oKXt9KSxuPjQwJiYoZS53YXJuPWZ1bmN0aW9uKCl7fSksbj41MCYmKGUuZXJyb3I9ZnVuY3Rpb24oKXt9KSl9ZnVuY3Rpb24gbyhlLHQpe3Q9dHx8e307Y29uc3Qgbj10LmxldmVsfHwiZGVidWciO3IoZSxuKX1mdW5jdGlvbiBpKGUpe2NvbnN0IHQ9T2JqZWN0LmNyZWF0ZShjb25zb2xlKTtyZXR1cm4gbyh0LGUpLHR9Y29uc3QgYT17YWxsOjAsdHJhY2U6NSxkZWJ1ZzoxMCxsb2c6MjAsaW5mbzozMCx3YXJuOjQwLGVycm9yOjUwfSxjPWkoKTt0LmV4cG9ydHM9e2xvZ2dlcjpjLGNvbmZpZ3VyZTpvLGNyZWF0ZTppfX0se31dfSx7fSxbMV0pOw==")); </script> <link rel="stylesheet" type="text/css" href="//web.archive.org/web/20171116140643cs_/https://cdn.jsdelivr.net/jquery.slick/1.6.0/slick.css"/> <script src="//web.archive.org/web/20171116140643js_/https://cdn.jsdelivr.net/jquery.slick/1.6.0/slick.min.js"></script> <script src="//web.archive.org/web/20171116140643js_/https://content.jwplatform.com/libraries/UAvzrRyR.js"></script> <script src="https://web.archive.org/web/20171116140643js_/https://cdn.rawgit.com/germanysbestkeptsecret/Wookmark-jQuery/2.1.3/wookmark.js"></script><script type="text/javascript" data-type="Init Mendel"> ( function() { $.ajax( { dataType: 'script', cache: true, url: '/resources/dist/mendel.js?v=2.63.1' } ) .done( function() { $( function() { Mendel.Page.init( 'TopicPage' ); } ) } ); })(); </script> <script> dataLayer = []; </script> <noscript><iframe src="//web.archive.org/web/20171116140643if_/https://www.googletagmanager.com/ns.html?id=GTM-5W6NC8" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= '//web.archive.org/web/20171116140643/https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-5W6NC8');</script> <script type="text/javascript" data-type="load analytics"> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//web.archive.org/web/20171116140643/https://www.google-analytics.com/analytics.js','ga'); var documentLocation = document.querySelector('html').getAttribute('data-ytrk-page').replace(/ /g, '/'); ga('create', 'UA-6636134-11', 'auto'); ga('require', 'linkid'); ga('set', 'dimension1', 'ANONYMOUS'); ga('set', 'dimension2', 'B'); window.optimizely = window.optimizely || []; window.optimizely.push("activateUniversalAnalytics"); ga('send', 'pageview', documentLocation + location.pathname + decodeURI(location.search)); </script> <script type="text/javascript"> EBStat={accountId:-1,host:'www.britannica.com',domain:'www.britannica.com'}; </script> <script type="text/javascript" data-type="eb stats"> ( function() { $.ajax( { dataType: 'script', cache: true, url: '//web.archive.org/web/20171116140643/https://www.britannica.com/webstats/mendelstats.js?v=1' } ) .done( function() { try {writeStat(null,{accountId:-1,hostnameOverride:'www.britannica.com',domain:'www.britannica.com', json:''});} catch(err){} } ); })(); </script> </body> </html><!-- FILE ARCHIVED ON 14:06:43 Nov 16, 2017 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 23:31:15 Nov 28, 2024. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). --> <!-- playback timings (ms): captures_list: 1.353 exclusion.robots: 0.034 exclusion.robots.policy: 0.02 esindex: 0.009 cdx.remote: 29.237 LoadShardBlock: 228.213 (3) PetaboxLoader3.datanode: 82.84 (4) load_resource: 189.079 PetaboxLoader3.resolve: 149.964 -->

Pages: 1 2 3 4 5 6 7 8 9 10