Position FEN

 

 

JavaScript

var cfg = {
  position: 'r1bqkbnr/pppp1ppp/2n5/1B2p3/4P3/5N2/PPPP1PPP/RNBQK2R'
};
var board = new ChessBoard('board', cfg);

HTML

<div id="board" style="width: 400px"></div>