SALT-NLP/Design2Code
This dataset consists of 484 webpages from the C4 validation set, serving the purpose of testing multimodal LLMs on converting visual designs into code implementations. Each example is a pair of source HTML and screenshot ({id}.html and {id}.png). See the dataset in the huggingface format here. Note that all images in these webpages are replaced by a placeholder image (rick.jpg) Please refer to our project page and our paper for more information. Example Usage For example, you… See the full description on the dataset page: https://huggingface.co/datasets/SALT-NLP/Design2Code.
221.8k
1<!DOCTYPE html>2<html lang="en">3 <head>4 <style>5 body{background-color:#E6E7E8;padding:0px;margin:0px;}6.clear, .wrapper, h1{clear:both;display:block;}7img {border:0px;padding:0px;margin:0px;}8.wrapper{position:relative;width:100%;max-width:1400px;margin:0px auto;text-align:left;}9.footer{width:100%;padding:40px 0px 40px 0px;display:block;background-color:#fff;text-align:center;}10.footer a{color:#0F83AD;}11.text-block, .big-list a, .answers a, .wa li, .footer, .footer a{font-family:Arial;font-size:16px;}12#header span, .navigation a, #header #logo{font-family:Arial;font-size:14px;}13#header {overflow:hidden;background-color:#43054F;box-shadow:inset 0px 0px 80px #2E003A;}14#header #logo{color:#fff;text-decoration:none;font-weight:bold;}15#header #logo:hover{color:#fff;}16#header span {padding:2px 5px 2px 8px;margin:0px;background-color:#fff;color:#2E003A;font-weight:bold;border:2px solid #fff;border-radius:10px 2px 2px 10px; -webkit-border-radius:10px 2px 2px 10px; -moz-border-radius:10px 2px 2px 10px;}17h1, h2, h3{background-color:#E6E7E8;display:block;font-size:24px;margin:0px 10px 0px 10px;padding:10px;font-family:Arial;font-weight:normal;color:#3C3C3C;line-height:110%;}18h1, h2, h3, .text-block, .big-list a, .answers a, .wa li, input[type=submit], input[type=text], select{border-radius:3px; -webkit-border-radius:3px; -moz-border-radius:3px;}19h1 {margin:10px 10px 0px 10px;}20.white{background-color:#fff;}21.note{background-color:#350241;display:block;text-align:right;font-family:Arial;color:#A909D7;font-size:9px;padding:2px 35px 0px 0px;}22.note a{color:#A909D7;text-decoration:none;}23.big-list,.big-list li, .answers, .answers li, .wa, .wa li{display:block;float:left;}24.big-list, .answers, .navigation, .wa {margin:0px 10px 0px 10px;padding:0px;list-style:none;}25.big-list li, .answers li{margin:0px;padding:5px;}26.big-list a, .answers a{text-decoration:none;display:block;color:#0074A2;font-weight:300;padding:15px 10px 15px 10px;border:1px solid #F2F2F2;}27.big-list a:hover, .answers a:hover{color:#fff;text-decoration:none;background-color:#2EA2CC;border:1px solid #198DB7;}28.navigation, .navigation li{display:block;float:right;margin:0px;}29.navigation li{padding:3px 15px 0px 15px;}30.navigation a{display:block;color:#fff;font-weight:bold;padding:0px;text-decoration:none;}31.navigation a:hover{text-decoration:none;color:#FFC0FF;}32.text-block {line-height:24px;text-align:justify;margin:10px;padding:10px;clear:both;color:#333;border:1px solid #F2F2F2;float:left;background-color:#fff;}33.left .text-block {margin:10px;border:1px solid #fff;}34.wa {margin:0px;}35.wa li{margin:5px;color:#3C3C3C;font-weight:300;padding:15px 10px 15px 10px;border:1px solid #F2F2F2;}36.wa li:hover{color:#fff;background-color:#2EA2CC;border:1px solid #198DB7;}37.page-ads {padding:0px 0px 3px 0px;text-align:center;color:#8A8A8A;font-family:Arial;font-size:11px;}38.the-form{padding:0px 0px 0px 20px;font:15px Arial;}39input[type=text], select{box-sizing:border-box;width:250px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;border:1px solid #C2C2C2;margin:0px 10px 0px 0px;box-shadow:1px 1px 4px #EBEBEB;-moz-box-shadow:1px 1px 4px #EBEBEB;-webkit-box-shadow:1px 1px 4px #EBEBEB;padding:10px;outline:none;}40input[type=submit]{border:none;padding: 10px 15px 10px 15px;background:#2E003A;color: #fff;box-shadow:1px 1px 4px #DADADA;-moz-box-shadow:1px 1px 4px #DADADA;-webkit-box-shadow:1px 1px 4px #DADADA;cursor:pointer;}41 </style>42 <meta charset="utf-8">43 <title>44 BRAWEST Words Containing BRAWEST With Scrabble Words List45 </title>46 <meta content="Your list of words with BRAWEST letters. Instantly get all 7 letter scrabble words containing brawest including bonus words. New anagrams made from BRAWEST." name="description">47 <meta content="width=device-width, initial-scale=1" name="viewport">48 <meta content="As0hBNJ8h++fNYlkq8cTye2qDLyom8NddByiVytXGGD0YVE+2CEuTCpqXMDxdhOMILKoaiaYifwEvCRlJ/9GcQ8AAAB8eyJvcmlnaW4iOiJodHRwczovL2RvdWJsZWNsaWNrLm5ldDo0NDMiLCJmZWF0dXJlIjoiV2ViVmlld1hSZXF1ZXN0ZWRXaXRoRGVwcmVjYXRpb24iLCJleHBpcnkiOjE3MTk1MzI3OTksImlzU3ViZG9tYWluIjp0cnVlfQ==" http-equiv="origin-trial">49 <meta content="AgRYsXo24ypxC89CJanC+JgEmraCCBebKl8ZmG7Tj5oJNx0cmH0NtNRZs3NB5ubhpbX/bIt7l2zJOSyO64NGmwMAAACCeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXN5bmRpY2F0aW9uLmNvbTo0NDMiLCJmZWF0dXJlIjoiV2ViVmlld1hSZXF1ZXN0ZWRXaXRoRGVwcmVjYXRpb24iLCJleHBpcnkiOjE3MTk1MzI3OTksImlzU3ViZG9tYWluIjp0cnVlfQ==" http-equiv="origin-trial">50 </head>51 <body>52 <style type="text/css">53 .right, .left{float:left;clear:both;width:100%;display:block;}54.right{background-color:#fff;}55.left{background-color:#E6E7E8;}56.words-ad1, .words-ad2, .words-ad3, .words-ad4{margin: 0 auto;float:none;display:block;text-align:center;}57.words-ad1 {width:320px;height:100px;}58.words-ad2 {width:250px;height:250px;}59.words-ad3 {width:300px;height:250px;}60.words-ad4 {width:300px;height:90px;}61#header {padding:10px 5px 10px 5px;} 62#header #logo{display:none;}63 64@media (min-width:500px) {65.words-ad1 {width:468px;height:60px;}66.words-ad2 {width:336px;height:280px;}67.words-ad3 {width:336px;height:280px;}68.words-ad4 {width:468px;height:20px;}69}70@media (min-width:800px) { 71#header {padding:10px 20px 10px 20px;}72#header #logo{display:inline;}73.words-ad1 {width:468px;height:60px;}74.words-ad2 {width:250px;height:250px;}75.words-ad3 {width:336px;height:280px;}76.words-ad4 {width:728px;height:20px;}77.right{width:70%;float:right;}78.left{width:30%;clear:none;}79.the-form input[type=text], .the-form select{width:180px;}80}81@media (min-width:980px) { 82#header #logo{display:inline;}83#header {padding:10px 20px 10px 20px;}84.words-ad1 {width:728px;height:90px;}85.words-ad2 {width:336px;height:280px;}86.words-ad3 {width:728px;height:90px;}87.words-ad4 {width:728px;height:20px;}88.right{width:70%;float:right;}89.left{width:30%;clear:none;}90.the-form input[type=text], .the-form select{width:250px;}91}92 </style>93 <div class="note">94 USING OUR SERVICES YOU AGREE TO OUR USE OF95 <a rel="nofollow">96 COOKIES97 </a>98 </div>99 <div id="header">100 <a id="logo">101 <span>102 WORDS103 </span>104 PAGE105 </a>106 <ul class="navigation">107 <li>108 <a>109 That Contain Letters110 </a>111 </li>112 <li>113 <a>114 That End With Letters115 </a>116 </li>117 <li>118 <a>119 That Start With Letters120 </a>121 </li>122 </ul>123 </div>124 <div class="wrapper">125 <div class="right">126 <div class="clear">127 128 </div>129 <div class="clear page-ads">130 Advertisement131 </div>132 <div class="clear words-ad1">133 <!-- wordspage-right1 -->134 <ins class="adsbygoogle words-ad1" data-ad-client="ca-pub-4353177946525642" data-ad-slot="[PHONE REDACTED]" data-adsbygoogle-status="done" style="display: block; width: 728px; height: 90px;">135 <div aria-label="Advertisement" id="aswift_0_host" style="border: none; height: 90px; width: 728px; margin: 0px; padding: 0px; position: relative; visibility: visible; background-color: transparent; display: inline-block;" tabindex="0" title="Advertisement">136 </div>137 </ins>138 </div>139 <h1>140 Words Containing BRAWEST141 </h1>142 <div class="text-block">143 With this 7 letter combination BRAWEST it is possible to make 802 words containing exactly the same letters. Also look at our partial matches for brawest!144 </div>145 <div class="clear">146 147 </div>148 <h2>149 Words That Contain BRAWEST Letters Exclusively150 </h2>151 <div class="clear">152 153 </div>154 <ul class="big-list">155 <li>156 <a>157 7 Letter Words Containing Brawest158 </a>159 </li>160 </ul>161 <div class="clear">162 163 </div>164 <a name="containing7">165 </a>166 <h2>167 7 Letter Words Containing Brawest168 </h2>169 <ul class="answers">170 <li>171 <a>172 Brawest173 </a>174 </li>175 </ul>176 <div class="clear">177 178 </div>179 <h2>180 Words Containing BRAWEST Partial Matches181 </h2>182 <div class="text-block">183 Most of the characters in the partial matches list are matching with the searched for combination, but some might be different. Seeing terms where only one element of the puzzle is missing helps you plan ahead and get more points in the future.184 </div>185 <ul class="big-list">186 <li>187 <a>188 4 Letter Words Containing Brawest189 </a>190 </li>191 <li>192 <a>193 5 Letter Words Containing Brawest194 </a>195 </li>196 <li>197 <a>198 6 Letter Words Containing Brawest199 </a>200 </li>201 </ul>202 <div class="clear">203 204 </div>205 <a name="partial-match4">206 </a>207 <h2>208 4 Letter Words Containing Brawest209 </h2>210 <ul class="answers">211 <li>212 <a>213 Abet214 </a>215 </li>216 <li>217 <a>218 Arbs219 </a>220 </li>221 <li>222 <a>223 Ares224 </a>225 </li>226 <li>227 <a>228 Arse229 </a>230 </li>231 </ul>232 <div class="clear">233 234 </div>235 <a name="partial-match5">236 </a>237 <h2>238 5 Letter Words Containing Brawest239 </h2>240 <ul class="answers">241 <li>242 <a>243 Abase244 </a>245 </li>246 <li>247 <a>248 Abate249 </a>250 </li>251 <li>252 <a>253 Abbes254 </a>255 </li>256 <li>257 <a>258 Abets259 </a>260 </li>261 </ul>262 <div class="clear">263 264 </div>265 <a name="partial-match6">266 </a>267 <h2>268 6 Letter Words Containing Brawest269 </h2>270 <ul class="answers">271 <li>272 <a>273 Abaser274 </a>275 </li>276 <li>277 <a>278 Abater279 </a>280 </li>281 <li>282 <a>283 Abates284 </a>285 </li>286 <li>287 <a>288 Ablest289 </a>290 </li>291 </ul>292 <div class="clear">293 294 </div>295 <div class="clear">296 297 </div>298 <h3>299 Words made from letters including B R A W E S T300 </h3>301 <div class="clear">302 303 </div>304 <div class="text-block">305 Unscramble more new word ideas that are made from similar character sequences as yours. This example list is a good way to find additional data.306 </div>307 <div class="clear">308 309 </div>310 <ul class="answers">311 <li>312 <a>313 Braxl314 </a>315 </li>316 <li>317 <a>318 Braxm319 </a>320 </li>321 <li>322 <a>323 Braxn324 </a>325 </li>326 <li>327 <a>328 Braxo329 </a>330 </li>331 </ul>332 <div class="clear">333 334 </div>335 <div class="text-block">336 How does our phrases finder work? It filters through the whole official dictionary database and includes answers that are a match or give a benefit.337 </div>338 <div class="clear">339 340 </div>341 </div>342 <div class="left" style="height: auto !important;">343 <div class="clear">344 345 </div>346 <h2 class="white">347 Search For Words With348 </h2>349 <div class="clear text-block">350 Use our search tool to find more results.351 <br>352 <br>353 <div class="the-form">354 <form action="" method="post" name="wordsthatcontain">355 <select name="searchfor" value>356 <option value="1">357 That Contain Letters358 </option>359 <option value="2">360 That Start With Letters361 </option>362 <option value="3">363 That End With Letters364 </option>365 </select>366 <br>367 <br>368 <input maxlength="7" name="letters" placeholder="Letters" type="text">369 <br>370 <br>371 <input type="submit" value="Search">372 </form>373 <div class="clear">374 375 </div>376 </div>377 </div>378 <div class="clear">379 380 </div>381 <div class="words-ad2">382 <!-- wordspage-left -->383 <ins class="adsbygoogle words-ad2" data-ad-client="ca-pub-4353177946525642" data-ad-format="rectangle" data-ad-slot="[PHONE REDACTED]" data-adsbygoogle-status="done" style="display: block; height: 280px;">384 <div aria-label="Advertisement" id="aswift_1_host" style="border: none; height: 280px; width: 336px; margin: 0px; padding: 0px; position: relative; visibility: visible; background-color: transparent; display: inline-block; overflow: visible;" tabindex="0" title="Advertisement">385 </div>386 </ins>387 </div>388 <div class="clear">389 390 </div>391 <h2 class="white">392 Highest values of letters with B R A W E S T in them393 </h2>394 <div class="text-block">395 Having a large vocabulary is a big part of Scrabble, however that is only one aspect.396 <br>397 <br>398 B = 3 point(s)399 <br>400 R = 1 point(s)401 <br>402 A = 1 point(s)403 <br>404 W = 4 point(s)405 <br>406 E = 1 point(s)407 <br>408 S = 1 point(s)409 <br>410 T = 1 point(s)411 <br>412 <br>413 These results are straight out of the Scrabble rules book.414 </div>415 <div class="clear">416 417 </div>418 <h2 class="white">419 Word Games Helpers420 </h2>421 <div class="text-block">422 Once you have unscrambled your word it is a good idea to check it over with our score calculator.423 <div class="clear">424 425 </div>426 <ul class="answers">427 <li>428 <a>429 Scrabble Calculator430 </a>431 </li>432 </ul>433 </div>434 <div class="clear">435 436 </div>437 </div>438 </div>439 <div class="clear">440 441 </div>442 <div class="footer">443 © Wordspage.com 2023 all rights reserved.444 <a>445 Privacy446 </a>447 -448 <a>449 Terms and Conditions450 </a>451 -452 <a>453 About454 </a>455 </div>456 <ins class="adsbygoogle adsbygoogle-noablate" data-adsbygoogle-status="done" style="display: none !important;">457 <div aria-label="Advertisement" id="aswift_2_host" style="border: none; height: 0px; width: 0px; margin: 0px; padding: 0px; position: relative; visibility: visible; background-color: transparent; display: inline-block;" tabindex="0" title="Advertisement">458 </div>459 </ins>460 </body>461</html>462 