Arduino EEPROM

Im trying to store large values to EEPROM. How can I write values above 255?

Here is my code:

#include <EEPROM.h>

int line = 0;
int counter = 0;
float val;
void setup() {
  // put your setup code here, to run once:
  Serial.begin(9600);
}

void loop() {
  // put your main code here, to run repeatedly:
  counter += 100;
  EEPROM.write(line, counter);
  Serial.print("EEPROM: ");
  Serial.println(EEPROM.read(line));
  Serial.print("Counter: ");
  Serial.println(counter);
  delay(1000);
}

When in doubt, RTFM